check_cond: Check 'cond'

Description Usage Arguments Value Author(s)

View source: R/mbd_checks.R

Description

Make sure that 'cond' and 'tips_interval' are coherent

Usage

1
check_cond(cond, tips_interval, n_0)

Arguments

cond

sets the conditioning

  • cond = 0: no conditioning;

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

tips_interval

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

n_0

the number of lineages at time equals zero.

Value

nothing

Author(s)

Giovanni Laudanno


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