DAISIE_convert_to_classic_plot: Prepare input for DAISIE_stt

Description Usage Arguments Value See Also Examples

View source: R/DAISIE_plot_stt.R

Description

Prepare input for DAISIE_stt

Usage

1
DAISIE_convert_to_classic_plot(simulation_outputs, Tpars = NULL)

Arguments

simulation_outputs

A list with matrices? of simulation produced by DAISIE_sim.

Tpars

A named list containing diversification rates considering two trait states:

  • [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 carrying capacity with trait state 2 on mainland

  • [8]: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

1
2
3
4
utils::data("islands_1type_1000reps", package = "DAISIE")
simulation_outuputs <- DAISIE:::DAISIE_convert_to_classic_plot(
islands_1type_1000reps
)

xieshu95/Trait_dependent_TraiSIE documentation built on Nov. 22, 2019, 7:51 a.m.