BIEN_ranges_shapefile_to_skinny | R Documentation |
BIEN_ranges_shapefile_to_skinny converts ranges to a "skinny" format to save space.
BIEN_ranges_shapefile_to_skinny(directory, raster, skinny_ranges_file = NULL)
directory |
The directory where range shapefiles will be stored. If NULL, a temporary directory will be used. |
raster |
A raster (which must have a CRS specified) to be used for rasterizing the ranges. |
skinny_ranges_file |
A filename that will be used to write the skinny ranges will be written to (RDS format). If NULL, this will not be written. |
Matrix containing 2 columns: 1) Species name; and 2) the raster cell number it occurs within.
Other range functions:
BIEN_ranges_box()
,
BIEN_ranges_genus()
,
BIEN_ranges_intersect_species()
,
BIEN_ranges_list()
,
BIEN_ranges_load_species()
,
BIEN_ranges_sf()
,
BIEN_ranges_skinny_ranges_to_richness_raster()
,
BIEN_ranges_species_bulk()
,
BIEN_ranges_species()
## Not run: BIEN_ranges_shapefile_to_skinny(directory = BIEN_ranges_species_bulk(species = c("Acer rubrum")), raster = terra::rast(crs = "+proj=laea +lat_0=15 +lon_0=-80 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0", extent = terra::ext(c(-5261554,5038446,-7434988,7165012 )), resolution =c(100000,100000) ) ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.