R: Actualization for parsimonyNumber.

update.parsimonyNumber {PhylogeneticEM} | R Documentation

## Actualization for parsimonyNumber.

### Description

`update.parsimonyNumber` compute the line vector of a parent node, given the vectors of its daughters.

### Usage

    update.parsimonyNumber(daughters, daughtersParams, cost, ...)

### Arguments

`daughters` | the identifiers of the daughters nodes.
`daughtersParams` | a ndaughters x (nclus) matrix with the line vectors of the number of solutions for the daughters nodes.
`cost` | the (ntaxa + nNode) x nclus matrix of costs (computed by `parsimonyCost`).

### Details

This function uses function `compute_state_filter` to find all the admissible states of the daughters, given a starting state for the parent.

### Value

A line vector corresponding to the parent node.

[Package PhylogeneticEM version 1.1.0 Index]