CharacterLength | R Documentation |
Homoplasy length of each character in a dataset on a specified tree.
CharacterLength(tree, dataset, compress = FALSE)
FitchSteps(tree, dataset)
FastCharacterLength(tree, dataset)
tree |
A tree of class |
dataset |
A phylogenetic data matrix of phangorn class
|
compress |
Logical specifying whether to retain the compression of a
|
CharacterLength()
returns a vector listing the contribution of each
character to tree score, according to the algorithm of
\insertCiteBrazeau2018;textualTreeTools.
FastCharacterLength()
: Do not perform checks. Use with care: may cause
erroneous results or software crash if variables are in the incorrect format.
Martin R. Smith (martin.smith@durham.ac.uk)
Other tree scoring:
IWScore()
,
LengthAdded()
,
MinimumLength()
,
MorphyTreeLength()
,
TaxonInfluence()
data("inapplicable.datasets")
dataset <- inapplicable.phyData[[12]]
tree <- TreeTools::NJTree(dataset)
CharacterLength(tree, dataset)
CharacterLength(tree, dataset, compress = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.