Raster with native habitat map data for one or several species

am_raster(key, resolution = 0.5, fun = c("count", "last", "first"))

Arguments

key

a string identifier for the species

resolution

the grid resolution in degrees, by default 0.5

fun

the aggregation fun to use when grid cells are covered by multiple spatial features, by default their count

Details

if the fun parameter is omitted, the probability field will be used

See also

Examples

if (FALSE) { ras <- am_raster(am_search_fuzzy("trevally")$key) }