Description Usage Arguments Details Value Author(s) References See Also Examples
Creates sdmData objects including species (single or multiple) and explanatory variates
1 |
train |
training data including species observations as a ( |
predictors |
explanatory variables (predictors), defined as a raster object ( |
formula |
optional, species and different types of explanatory variables (e.g., factor) as well as coordinates can be specified |
test |
independent test data |
filename |
filename of the sdm data object to store in the disk (not implemented) |
crs |
optional, coordinate reference system |
sdmData can be used to create data object, for single or multiple species data and returns a singleSpecies or multipleSpecis data object, respectively or a SpeciesDataList when ths multiple species the coordinates of species observations are not the sama. sdmData can automatically detect the variables contain species data (if train is data.frame), but in formula, the species names can be specifies in the left hand side. In the right hand side of the formula the coordinate columns (if train is data.frame), explanatory variables that should be used as well as the factors can be specified (see examples).
an object of class singleSpecies
or multipleSpecies
or SpeciesDataList
Babak Naimi naimi.b@gmail.com
Naimi, B., Ara<c3><ba>jo, M.B. (2016) sdm: a reproducible and extensible R platform for species distribution modelling, Ecography, DOI: 10.1111/ecog.01881
#
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.