| PCMMapModelTypesToRegimes | R Documentation |
Integer vector giving the model type index for each regime
PCMMapModelTypesToRegimes(model, tree, ...)
model |
a PCM model |
tree |
a phylo object with an edge.part member |
... |
additional parameters passed to methods |
This is a generic S3 method. The default implementation for the basic
class PCM returns a vector of 1's, because it assumes that a single model type
is associated with each regime. The implementation for mixed Gaussian models
returns the mapping attribute of the MixedGaussian object reordered to
correspond to PCMTreeGetPartNames(tree).
an integer vector with elements corresponding to the elements in
PCMTreeGetPartNames(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.