evaluate_sim: Establish whether the outcome of the simulation is in...

Description Usage Arguments Author(s)

View source: R/mbd_sim_utils.R

Description

Establish whether the outcome of the simulation is in accordance with the required conditioning

Usage

1
evaluate_sim(l_matrix, cond, n_0, tips_interval, pool)

Arguments

l_matrix

the l-table

cond

sets the conditioning

  • cond = 0: no conditioning;

  • cond = 1: conditioning on stem or crown age and non-extinction of the phylogeny;

n_0

the number of lineages at time equals zero.

tips_interval

sets tips boundaries constrain on simulated dataset. It works only if cond == 1, otherwise it must be set to c(0, Inf).

pool

the pool of living species at a given time

Author(s)

Giovanni Laudanno


Giappo/mbd documentation built on March 3, 2020, 3:36 a.m.