Description Usage Arguments Value
View source: R/createBiasDensity.R
The creation of a probablity density map (bias file) helps avoid sampling bias in models. Restricting background point selection to areas around occurence points decreases the potential of unbalanced sampling between occurence points and background points. This may occur if not all areas in the training extent were uniformly randomly sampled.
1 2 | createBiasDensity(predictors, occurrence_points_list, scale, shape,
output_folder)
|
predictors |
A RasterStack of RasterLayer objects representing the environmental predictors. |
occurrence_points_list |
A list of occurence point dataframes for each species sampled. |
scale |
A 2 element vector containing the minimum and maximum range for the bias probablity scale. |
shape |
A shapefile to overlay on the plotted bias density map. |
output_folder |
Location to save data and plots. |
A RasterLayer of selection probablities ranging from 0 to 100 throughout the training extent.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.