opp_map_keyareas | R Documentation |
Produces a more attractive version of the map from track2KBA::findSite() and track2KBA::mapSite().
opp_map_keyareas(
track2KBA_UD,
opp_sites = NA,
center,
zoom = NULL,
coast_scale = 50,
viridis_option = "D"
)
opp_sites |
Polygon output from opp_sites(), must include a population size estimate. |
center |
Data frame containing columns 'Longitude' and 'Latitude' in decimal degrees, for plotting the colony or nest locations. |
zoom |
Integer from 1:16, indicating the zoom level for map. If NULL the function will calculate the required zoom level. |
coast_scale |
Mapping resolution for the coastline basemap. Must be one of: 10 - high resolution, 50 - medium resolution, 110 = low resolution. |
viridis_option |
A character string indicating the colormap option to use. Four options are available: "magma" (or "A"), "inferno" (or "B"), "plasma" (or "C"), "viridis" (or "D", the default option) and "cividis" (or "E"). |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.