DAISIE_create_island: Converts simulation output into island output

Description Usage Arguments Value

View source: R/DAISIE_create_island.R

Description

Converts simulation output into island output

Usage

1
2
DAISIE_create_island(stt_table, totaltime, island_spec, mainland_n, Tpars,
  keep_final_state = FALSE)

Arguments

stt_table

a species-through-time table

totaltime

simulated amount of time

island_spec

matrix with species on island (state of system at each time point)

mainland_n

number of mainland species

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

keep_final_state

logical indicating if final state of simulation should be returned. Default is FALSE

Value

list with the island information, composed stt table, branching times of extant species, status os species on the island and number of missing species.


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