extract_map | R Documentation |
This function allows, from a density map density_obj (density object of the dsims packages), to provide a map of class sf (data.frame).It allows to recalculate the correct density ratios of the provided map according to the desired number of individuals in the area N.
extract_map(density_obj, N, crs)
density_obj |
Density object from dsims package. The map containing information density ratio on the study area. |
N |
Numeric. The number of individuals desired in the area. |
crs |
Numeric. Projection system. |
sf object. The map with the densities corresponding to the number of individuals desired in the study area.
data(dataset_density) map <- extract_map(density_obj = dataset_density, N = 500, crs = 2154) head(map)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.