Learn R Programming

TreeSearch (version 0.2.2)

FitchSteps: Fitch score

Description

Fitch score

Usage

FitchSteps(tree, dataset)

Arguments

tree

A tree of class phylo.

dataset

A phylogenetic data matrix of class phyDat, whose names correspond to the labels of any accompanying tree.

Value

A vector listing the number of 'parsimony steps' calculated by the Fitch algorithm for each character. Inapplicable tokens are treated as per Brazeau, Guillerme and Smith (2017)

References

Brazeau2018TreeSearch

Examples

Run this code
# NOT RUN {
{
}

# }

Run the code above in your browser using DataLab