| geom_xnicher_occ | R Documentation |
A self-contained ggplot2 layer that draws an occurrence cloud
env_occ in 2-D environmental space.
geom_xnicher_occ(
env_occ,
var_names = NULL,
size = 1.2,
alpha = 1,
colour = "black",
shape = 16,
...
)
env_occ |
Matrix or data frame with at least two columns. Only the first two columns are used. |
var_names |
Optional character vector of length 2 used to name the columns of the layer's internal data frame. |
size, alpha, colour, shape |
Aesthetic parameters. |
... |
Additional fixed parameters passed to |
A ggplot2 layer.
library(ggplot2)
ggplot() +
geom_xnicher_background(example_env_m_2d) +
geom_xnicher_occ(example_env_occ_2d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.