Description Usage Arguments Value Examples
This is a function that wraps m_transition_matrix
and m_diversification_rates
so rates can be extracted in one step
1 | m_collect_rates(model_fit, hidden_traits, character_states)
|
model_fit |
A muhisse.fit object |
hidden_traits |
Logical indicating whether the model has hidden states |
character_states |
A translation for the character states in the model in the order 00, 01, 10, 11 |
A list with two components, the transition rates formatted as a rate matrix and a data frame of diversification rates
1 2 3 4 5 | States <- c("mp", "mb", "fp", "fb")
# muhisse model
data("diatoms")
m_collect_rates(model_fit = diatoms$muhisse, hidden_traits=TRUE, character_states=States)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.