create_full_CS_stt: Unsampled CS full STT

View source: R/DAISIE_format_CS_full_stt.R

create_full_CS_sttR Documentation

Unsampled CS full STT

Description

Unsampled CS full STT

Usage

create_full_CS_stt(stt_list, stac_vec, total_time, trait_pars = NULL)

Arguments

stt_list

List of full stt tables as returned by DAISIE_sim_core functions

stac_vec

Vector with status of species on island.

total_time

Numeric double with total time of simulation.

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

1 complete, unsampled STT table from all clades in an island of a CS model as generated by DAISIE_sim_core functions.

Author(s)

Pedro Neves, Joshua Lambert, Shu Xie, Giovanni Laudanno


DAISIE documentation built on Oct. 22, 2023, 1:06 a.m.