Description Usage Arguments Value
View source: R/prepare_species_data.R
Prepare species data by creating presence and/or pseudoabsence datasets for modeling. In that process, first the NAs are removed, then presence points are thinned to remove points that are too close together (less than 1.5km when) modeling with ~1km pixel size. It is assumed that in wd the directory containing Geopackage file with species data is present.
1 | prepare_species_data(species, species_column_name = "spec", mask, env_layers)
|
species |
(character), name used in project. For example: satmon for Satureja montana, aursax for Aurinia saxatilis etc. |
species_column_name |
(character), column name as in .gpkg file from where species data will be extracted. Default value is "spec" |
mask |
sf polygon object with specific areas from where pseudoabsences will be extracted |
env_layers |
(raster stack), environmental layers that is the result of running create_env_stack function |
Data table object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.