prep_independent_swd | R Documentation |
Helper to prepare independent occurrences when using SWD format
prep_independent_swd(
occ,
species,
longitude,
latitude,
raster.layers,
save = FALSE,
name.occ
)
occ |
data.frame containing occurrence records of the species of interest. Mandatory columns are: species, longitude, and latitude. Other columns will be ignored. |
species |
(character) name of column containing species name. |
longitude |
(character) name of column containing longitude values. |
latitude |
(character) name of column containing latitude values. |
raster.layers |
RasterStack of predictor variables masked to the area where the model was calibrated. |
save |
(logical) whether or not to a write csv file containing independent occurrences prepared to be used in model evaluation. The file will contain additional columns with the values of the variables for each coordinate. Default = FALSE. |
name.occ |
(character) name to be used for the file with occurrence records to be written (e.g., "independent_occ"). |
A data.frame with the prepared independent occurrences.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.