View source: R/plot_comm_trait_evolution.R
plot_comm_trait_evolution | R Documentation |
Produces a hex-density plot of all trait values in the community over generations.
plot_comm_trait_evolution(
comrad_tbl,
generation_range = c(0, Inf),
xgrain = 200,
ygrain = 0.01,
xlim = NULL,
ylim = NULL,
alpha = 0.95,
hex_fill = "species"
)
comrad_tbl |
a tibble containing the output of a |
generation_range |
numeric vector with length 2, supplying the first and last generation to plot from the dataset. Defaults to every generation in the table |
xgrain |
numeric, the width of hexes on the x-axis (generations) |
ygrain |
numeric, the width of hexes on the y-axis (trait) |
xlim |
numeric vector, the range of x-values, passed to
|
ylim |
numeric vector, the range of y-values, passed to
|
alpha |
numeric, the transparency of the hexes |
hex_fill |
character with two options, |
Théo Pannetier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.