View source: R/generate_pseudo_absences.R
generate_pseudo_absences | R Documentation |
This function generates pseudo-absence points within the study area.
generate_pseudo_absences(
presences,
study_area,
raster_stack,
predictor_variables,
coords = c("decimalLongitude", "decimalLatitude"),
decimal_digits = NULL,
attempts = 100
)
presences |
Data frame containing presence points. |
study_area |
Spatial polygon defining the study area ('sf' object). |
raster_stack |
'SpatRaster' object containing covariate data. |
predictor_variables |
Character vector of the predictor variables selected for this species. |
coords |
Character vector specifying the column names for latitude and longitude. Defaults to 'c("decimalLongitude", "decimalLatitude")'. |
decimal_digits |
An integer specifying the number of decimal places to which coordinates should be rounded. |
attempts |
Integer specifying the number of attempts to generate exact pseudo-absences. Defaults to 100. |
Data frame containing both presence and pseudo-absence points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.