DAISIE_extract_stt_median: Extract the STT median from the output of DAISIE_sim...

Description Usage Arguments Value

View source: R/DAISIE_extract_stt_median.R

Description

Extract the STT median from the output of DAISIE_sim functions

Usage

1
DAISIE_extract_stt_median(island_replicates, trait_pars = NULL)

Arguments

island_replicates

List output from DAISIE_sim_core_constant_rate(), DAISIE_sim_core_time_dependent(), DAISIE_sim_core_constant_rate_shift() or DAISIE_sim_min_type2() functions. Minimally, this must be a list that has as many elements as replicates. Each element must be a list with the elements island_age, not_present and stt_all. stt_all must be a data frame with the column names Time, nI, nA, nC and present.

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 matrix (?)


DAISIE documentation built on Aug. 26, 2020, 5:12 p.m.