Parameter structure setting Sets the parameters (speciation, extinction and transition) ids. Needed for ML calculation (secsse_ml()
).
Source: R/secsse_utils.R
id_paramPos.Rd
Parameter structure setting
Sets the parameters (speciation, extinction and transition) ids. Needed for
ML calculation (secsse_ml()
).
Arguments
- traits
vector with trait states for each tip in the phylogeny. The order of the states must be the same as the tree tips. For help, see
vignette("starting_secsse", package = "secsse")
. When providing amultiPhylo
set of multiple phylognies, traits should be a list where each entry in the list corresponds to the matching phylogeny on that position.- num_concealed_states
number of concealed states, generally equivalent to the number of examined states in the dataset.