R/spatial.R
am_species_per_csc.RdGlobal richness map data (i.e. number of different species per cell), optionally filtered for taxonomy and a preferred probability threshold
am_species_per_csc(csc, min_prob = 0.5, keys = NULL)
| csc | a vector of strings with CsquareCodes (grid cell identifiers) |
|---|---|
| min_prob | a numeric with the threshold for probable occurrence, default 0.5 |
| keys | a vector of string with SpeciesID values |
Other spatial:
am_csc_from_extent(),
am_map_leaflet(),
am_raster(),
am_species_in_csc(),
csquare_from_dd(),
csquare_to_dd(),
rasterize_coords(),
which_cells_in_raster()
if (FALSE) { # distinct number of species in a specific grid cell am_species_per_csc("7516:236:1", 0.99) # distinct species count per grid cells in LME 1 csc <- am_hcaf() %>% filter(LME == 1) %>% collect() %>% pull(CsquareCode) am_species_per_csc(csc, 0.9) # global richness map data based on taxonomy keys <- am_search_exact(Family = "Carangidae")$SpeciesID am_species_per_csc(keys = keys, min_prob = 0.9) }