PlotHull | R Documentation |
Plots species distribution ranges approximated with CalcRange
in the geographic context.
PlotHull(dat, select = "all", buffer = 1, bgmap,
col = rgb(255, 0, 0, 10, maxColorValue = 255))
dat |
a list of |
select |
a character string indicating which elements of the list to plot. Can be one or multiple species names. Default = “all”. |
buffer |
numerical. The buffer around the polygon extent when plotting the map. |
bgmap |
a |
col |
a character string indicating the colour of the polygons. Default is to transparent red. |
If type
is set to “separate”, set par(ask = T)
to see all maps.
A plot or a set of plots.
See https://github.com/azizka/speciesgeocodeR/wiki for more details and tutorials.
#simulate example occurrences
occ.exmpl<- data.frame(species = sample(letters, size = 250, replace = TRUE),
decimallongitude = runif(n = 250, min = 42, max = 51),
decimallatitude = runif(n = 250, min = -26, max = -11))
dat <- CalcRange(occ.exmpl, method = "pseudospherical", terrestrial = FALSE)
## Not run:
PlotHull(dat)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.