Learn R Programming

PhylogeneticEM (version 1.0.0)

incidence.matrix.full: Incidence matrix of a tree.

Description

incidence.matrix.full computes the incidence matrix U of a tree : for a node i and a branch b, U[i,b]=1 if b is in the lineage i, and 0 otherwise.

Usage

incidence.matrix.full(phylo)

Arguments

phylo
a phylogenetic tree, class phylo.

Value

Matrix of incidence, size ntaxa + nNodes.

See Also

incidence.matrix