mapSite: Make simple maps of aggregation and important sites

View source: R/mapSite.R

mapSiteR Documentation

Make simple maps of aggregation and important sites

Description

mapSite uses output from findSite to create maps illustrating density of animals in space, and borders of potentially important areas for the population.

Usage

mapSite(Site, colony = NULL, show = TRUE)

Arguments

Site

Simple feature MULTIPOLYGON object or SpatialPixelsDataFrame. Must be output of findSite function).

colony

data.frame. Optional. Must contain columns named 'Latitude' and 'Longitude', with coordinate locations to display reference point of, for example, a breeding or tagging site.

show

logical. show plot, or just save it. Note, saving plot only works for Simple Features input. Default is TRUE.

Details

If the input is simple features polygons (i.e. polyOut = TRUE in findSite), areas which meet threshold of importance are displayed (in red) on top of of the estimated density of animals in space. Black borders are political and coastline borders.If there are no red borders areas displayed on the map, then either the species doesn't aggregatee enough to meet the threshold, or the tracked sample aren't representative enough to identify significant aggregations.

If input is SpatialPixelsDataFrame (i.e. polyOut = FALSE in findSite), a simple density surface map is plotted.

Value

Returns a figure of either single map with all core ranges displayed together, or a series of facetted maps, each of which shows a utilization distribution corresponding to a level of ID in KDE.

See Also

estSpaceUse

Examples

KDE <- track2KBA::KDE_example

## identify potential sites
pot_site <- findSite(KDE, represent = 90, levelUD = 50)
## Map it
mapSite(pot_site)


track2KBA documentation built on Sept. 27, 2023, 5:08 p.m.