transitionModels | R Documentation |
Generate transition models
Makes a list of all possible model schemes for transitions between a set of states. The returned object can be passed to the function fitmodels
transitionModels(states, include.asymmetric = TRUE, constraint = NULL)
states |
A vector with values representing character states. |
include.asymmetric |
Whether or not to include assymetric rate models in the list of returned models. Default TRUE; (FALSE not yet implemented) |
constraint |
A numeric matrix with values 1 and/or 0, indicating whether or not specific transition types should be allowed or restricted, respectively. The default value of NULL allows all model types in the returned list of models. Providing a constraint matrix filters the set of models to only those that satisfy the constraint. |
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.