edd_plot_las: Generating line plot of speciation rates of each lineage

View source: R/edd_plot.r

edd_plot_lasR Documentation

Generating line plot of speciation rates of each lineage

Description

Function to generate a plot showing the transition of speciation rates of each lineage

Usage

edd_plot_las(
  raw_data = NULL,
  rep_id = 1,
  save_plot = FALSE,
  path = NULL,
  deviation = FALSE,
  annotation = TRUE
)

Arguments

raw_data

a list of results generated by edd simulation function

rep_id

specify the id of replication to plot

save_plot

Logical, whether save to file or return a ggplot object

path

The path to save the plots

deviation

Logical, whether to plot the deviation of speciation rates

annotation

Logical, decide whether to add annotation to the plot

Value

an ggplot object

Author(s)

Tianjian Qin


EvoLandEco/eve documentation built on Sept. 14, 2024, 12:04 a.m.