prepare_full_lambdas: Prepares the entire set of lambda matrices for cla_secsse.

Description Usage Arguments Value

View source: R/secsse_utils.R

Description

It provides the set of matrices containing all the speciation rates

Usage

1
prepare_full_lambdas(traits, num_concealed_states, lambd_and_modeSpe)

Arguments

traits

vector with trait states, order of states must be the same as tree tips, for help, see vignette.

num_concealed_states

number of concealed states, generally equivalent to number of examined states.

lambd_and_modeSpe

a matrix with the 4 models of speciation possible.

Value

A list of lambdas, its length would be the same as the number of trait states * num_concealed_states..


secsse documentation built on July 16, 2021, 9:06 a.m.