am_raster: Raster with native habitat map data for one or several...

Description Usage Arguments Details See Also Examples

View source: R/spatial.R

Description

Raster with native habitat map data for one or several species

Usage

1
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

Other spatial: am_csc_from_extent(), am_map_leaflet(), am_species_in_csc(), am_species_per_csc(), csquare_from_dd(), csquare_to_dd(), rasterize_coords(), which_cells_in_raster()

Examples

1
2
3
4
## Not run: 
ras <- am_raster(am_search_fuzzy("trevally")$key)

## End(Not run)

raquamaps/aquamapsdata documentation built on Feb. 25, 2021, 10:28 p.m.