View source: R/IdentifyBirdSubspecies.R
subspeciesDensityMap | R Documentation |
subspeciesDensityMap(
localities,
quant = 0.95,
xmin = NULL,
xmax = NULL,
ymin = NULL,
ymax = NULL,
total_range
)
localities |
Labeled localities as generated from labelSubspecies() or subspeciesOccQuery() |
quant |
quant for density, below which points are removed. E.g., if set to 0.95, removes 95 \itemxminMinimum longitude extent to clip to \itemxmaxMaximum longitude extent to clip to \itemyminMinimum latitute extent to clip to \itemymaxMaximum latitude extent to clip to |
This function uses 2D kernel density estimation to make a density raster of points for each subspecies. It then removes all but the most dense cells as definied by quant.
listFromSubspeciesOcc = subspeciesOccQuery(spp="Cardinalis sinuatus", subsppList=c("sinuatus","peninsulae","fulvescens"),pointLimit=100, dbToQuery="gbif") labeledLoc = labelSubspecies(subsppOccList=listFromSubspeciesOcc) locs = labeledLoc[labeledLoc$subspecies=="sinuatus",] dens = subspeciesDensityMap(localities=locs,quant=0.95, xmin=-125,xmax=-60,ymin=10,ymax=50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.