Movatterモバイル変換


[0]ホーム

URL:


dynamicSDM

LicenseCodecov test coverageR-CMD-checkDOICRAN status

Added features dynamicSDMv1.3

Dobson, R., Challinor, A.J., Cheke, R.A., Jennings, S., Willis,S.G. and Dallimer, M., 2023. dynamicSDM: An R package for speciesgeographical distribution and abundance modelling at high spatiotemporalresolution. Methods in Ecology and Evolution, 14, 1190-1199.

Summary

Across ecological research fields, species distribution and abundancemodelling (SDM) is a major tool for understanding the drivers andpatterns of species occurrence. To advance our ability to model speciesinhabiting dynamic ecosystems worldwide,dynamicSDMfacilitates the incorporation of explanatory variables that are dynamicin both space and time. Our functions are:

Package structure

dynamicSDM functions are split into four key modelling stages:response data, explanatory variables, modelling relationships anddynamic projections. See the package manualherefor more details on each function.

1) Response data functions

Functions for preparing species distribution or abundance model inputdata for modelling with spatiotemporally dynamic explanatoryvariables.

2) Explanatory variablefunctions

Functions for extracting spatiotemporally dynamic explanatoryvariable data for species occurrence record co-ordinates and dates usingGoogle Earth Engine.

3) Modelling relationshipfunctions

Functions for generating species distribution or abundance modelsthat account for spatial and temporal autocorrelation in dynamicexplanatory variables.

4) Dynamic projectionfunctions

Functions for generating explanatory variable projection data framesat given spatiotemporal extent and resolution, and projecting speciesdynamic distribution and abundance patterns onto these.

Installation

# Install using Githubinstall_github("r-a-dobson/dynamicSDM")

Common installation errors

dynamicSDM depends on a range of spatial and graphic R packages,which may result in some persistent errors on installation or running ofcertain functions.

If you encounter an error or bug when installing and usingdynamicSDM, please post a commenthere forguidance and support from us.

Below we have outlined common errors and typical solutions to try,depending on your operating system

1) Error with rgl

# Loading rgl's DLL failed. This build of rgl depends on XQuartz, which failed to load.options(rgl.useNULL =TRUE)library(rgl)

2) Dependency package terra

On Homebrew (macOS) run:

brew install pkg-configbrew install gdal

On Linux run:

sudo apt-get install libgdal-dev libproj-dev libgeos-dev libudunits2-dev netcdf-bin

Then in R run:

install.packages("Rcpp")install.packages('terra',repos='https://rspatial.r-universe.dev')

3) Dependency package magick

On Homebrew (macOS) run:

 brew install imagemagick@6

On Linux run:

sudo apt-get install -y libmagick++-dev

Then in R run:

install.packages("magick")

[8]ページ先頭

©2009-2025 Movatter.jp