bso_plot_stage_diagram | R Documentation |
A stage diagram illustrates the share of individuals that are in a specific developmental stage of a particular generation over time.
bso_plot_stage_diagram(
.pheno,
.station = prop_stations(.pheno)[1],
.stages = list("white", "brown"),
.lty = c("dashed", "solid"),
.lwd = 2,
.colors = barrks_colors("bso_stages"),
.labels = barrks_labels("bso_stages"),
.legend_col = TRUE,
.legend_lty = TRUE,
...
)
.pheno |
A BSO phenology (see |
.station |
Pass a character vector to choose a station assigned to |
.stages |
List of stages to plot. Elements will be passed to
|
.lty , .lwd |
Vectors of line types or line widths that are used to plot
the different stages. Should have the same length as |
.colors , .labels |
Vectors of colors/labels starting from the hibernating generation followed consecutively by elements for the filial generations (not including sisterbroods). |
.legend_col , .legend_lty |
Manipulate the appearance of the legends for
colors and line types. Pass |
... |
arguments passed to |
None
# This may take a few minutes...
# calculate phenology
p <- bso_phenology('bso', barrks_data('stations'), .quiet = TRUE)
bso_plot_stage_diagram(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.