Description Usage Arguments Value Examples
A function to plot a ridgeline of (model-averaged) diversification rates in the alternative states.
1 2 3 4 5 6 7 8 | m_ridgelines(
processed_recon,
states_names = c("00", "01", "10", "11"),
parameter = "turnover",
plot_as_waiting_time = FALSE,
fill_colors = rep(NA, 4),
line_colors = viridis(n = 4)
)
|
processed_recon |
An object produced by |
states_names |
Translation for the character states in the order 00, 01, 10, 11 (if wanted) |
parameter |
The diversification parameter to be plotted on the y axis. Possible options are turnover, extinct.frac, net.div, speciation, extinction |
plot_as_waiting_time |
Whether to plot the rates (FALSE, default) or their inverse (waiting times) |
fill_colors |
Colors for the density polygons |
line_colors |
Colors for the lines and points |
A ridgeline plot of tip-associated rates (possibly model averaged), with carpet with the individual points and summary statistics (mean +/- sd)
1 2 3 4 5 6 7 | data("diatoms")
processed_muhisse <- m_process_recon(muhisse_recon=diatoms$muhisse_recon)
m_ridgelines(
processed_recon = processed_muhisse,
parameter = "extinction",
line_colors = c("#000004FF", "#57157EFF", "#C43C75FF", "#FE9F6DFF"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.