sim_conditioning: Check if the conditioning is fulfilled

Description Usage Arguments Value Author(s)

View source: R/sls_sim_utils.R

Description

sls_sim module

Usage

1
sim_conditioning(data, l_2, cond)

Arguments

data

contains all the information about the simulated process

l_2

the matrix containing the information about how the subclades are nested into the main clade. See sim_get_standard_l_2 for more info.

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;

Value

a boolean

Author(s)

Giovanni Laudanno


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