sls_check_input: Check input

Description Usage Arguments Value Author(s)

View source: R/sls_utils.R

Description

It checks the inputs

Usage

1
sls_check_input(brts_m, brts_s, cond, n_0, n_max)

Arguments

brts_m

branching times for the Main-clade

brts_s

branching times for the Sub-clade

cond

type of conditioning:

  • cond = 0 no conditiong;

  • cond = 1 conditions on the survival of crown descendents;

  • cond = 2 conditions on the survival of subclade and on the other crown descendents in the main clade;

  • cond = 3 conditions on the survival of the subclade and both crown descendents in the main clade;

n_0

starting number of lineages

n_max

maximum number of lineages to consider

Value

nothing

Author(s)

Giovanni Laudanno


Giappo/sls documentation built on Feb. 1, 2021, 9:55 a.m.