Rdocumentation
powered by
Learn R Programming
PhylogeneticEM (version 1.0.0)
init.parsimonyNumber: Initialization for parsimonyNumber.
Description
init.parsimonyNumber
initialize a (ntaxa + nNodes)x(nclus) matrix with NAs everywhere, except for the tips.
Usage
init.parsimonyNumber(phy, clusters)
Arguments
phy
phylogenetic tree.
clusters
the vector of the clusters of the tips.
Value
A (ntaxa + nNodes)x(nclus) matrix, with ntaxa first lines initialized as described.
Details
At a tip i in state k, the line-vector is initialized as follow : Ind(k=p)_1