fitmodels | R Documentation |
Fit data and a list of Mk models with simmap
Makes a list of all possible model schemes for transitions between a set of states.
fitmodels(tree, priors.tips, model.transitions, priors.root = NULL)
tree |
newick character string with phylogenetic tree |
priors.tips |
matrix with character state priors for the tips of the tree |
model.transitions |
a square matrix or list of square matrices for the transition rate parameter schemes; a list with all possible parameter schemes can be generated with the function transitionModels |
priors.root |
a numeric vector with the priors for the character states at the root node. Default is a uniform distribution. |
A list of transition matrices, for all possible partitions of pairwise transitions into parameters describing transitions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.