DAISIE_convert_to_classic_plot: Prepare input for DAISIE_stt

View source: R/DAISIE_plot_stt.R

DAISIE_convert_to_classic_plotR Documentation

Prepare input for DAISIE_stt

Description

Prepare input for DAISIE_stt

Usage

DAISIE_convert_to_classic_plot(simulation_outputs, trait_pars = NULL)

Arguments

simulation_outputs

A list with matrices and vectors of simulation produced by DAISIE_sim functions.

trait_pars

A named list containing diversification rates considering two trait states created by create_trait_pars:

  • [1]:A numeric with the per capita transition rate with state1

  • [2]:A numeric with the per capita immigration rate with state2

  • [3]:A numeric with the per capita extinction rate with state2

  • [4]:A numeric with the per capita anagenesis rate with state2

  • [5]:A numeric with the per capita cladogenesis rate with state2

  • [6]:A numeric with the per capita transition rate with state2

  • [7]:A numeric with the number of species with trait state 2 on mainland

Value

a list with wrangled data to be used for plotting STT plots with DAISIE_plot_stt

See Also

DAISIE_plot_stt, DAISIE_plot_sims

Examples

utils::data("islands_1type_1000reps", package = "DAISIE")
simulation_outuputs <- DAISIE:::DAISIE_convert_to_classic_plot(
islands_1type_1000reps
)



DAISIE documentation built on June 2, 2022, 5:07 p.m.