edd_plot_mus: Generating line plot of extinction rates of each lineage

View source: R/edd_plot.r

edd_plot_musR Documentation

Generating line plot of extinction rates of each lineage

Description

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

Usage

edd_plot_mus(
  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 plot the deviation of extinction rates

annotation

Logical, whether plot the annotation of parameters

Value

an ggplot object

Author(s)

Tianjian Qin


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