Description Usage Arguments Details Value Examples
map_presence_absence
creates a map of presence-absence data.
1 | map_presence_absence(df, maptype = "toner-lite", alpha = 0.5)
|
maptype |
A Stamen maptype: terrain, terrain-background, terrain-labels, terrain-lines, toner, toner-2010, toner-2011, toner-background, toner-hybrid, toner-labels, toner-lines, toner-lite, or watercolor. |
alpha |
A transparency value between 0 and 1. |
data |
A dataframe with columns: presence, latitude, longitude. |
Presence-absence data are mapped over a Stamen basemap. Overplotting is addressed to some degree with transparence, by default alpha = 0.5. Coordinate datum is assumed to be WGS84.
A plot of location data on a map.
1 2 | boer4 <- presence_absence("BOER4", patricks_plants)
map_presence_absence(boer4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.