Description Usage Arguments Value Examples
A function to plot a jittered scatterplot of (model-averaged) diversification rates and summary statistics in the alternative states.
1 2 3 4 5 6 7 | m_scatterplot(
processed_recon,
states_names = c("00", "01", "10", "11"),
parameter = "turnover",
colors = viridis(n = 4, option = 2, end = 0.7),
plot_as_waiting_time = FALSE
)
|
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 |
colors |
Colors for the lines and points |
plot_as_waiting_time |
Whether to plot the rates (FALSE, default) or their inverse (waiting times) |
A jittered scatterplot of tip-associated rates (possibly model averaged) with summary statistics (mean +/- sd)
1 2 3 4 5 6 7 | data("diatoms")
processed_muhisse <- m_process_recon(muhisse_recon=diatoms$muhisse_recon)
m_scatterplot(
processed_recon = processed_muhisse,
parameter = "extinction",
colors = c("#000004FF", "#57157EFF", "#C43C75FF", "#FE9F6DFF"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.