Learn R Programming

PhylogeneticEM (version 1.8.0)

update.incidence.matrix.full: Update function for incidence matrix

Description

update.incidence.matrix.full updates the matrix initialized in init.incidence.matrix.full for the computation of the incidence matrix in incidence.matrix.full.

Usage

update.incidence.matrix.full(daughtersParams, parent, ...)

Value

Vector of length ntaxa + Nnode, indicating to which lineages the branch above the current node belongs to.

Arguments

daughtersParams

: rows of updated matrix corresponding to the daughters of the current node.

Details

A node belongs to all the lineages of its daughters.