R: Actualization for parsimonyCost.

update.parsimonyCost {PhylogeneticEM} | R Documentation

## Actualization for parsimonyCost.

### Description

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

### Usage

    update.parsimonyCost(daughtersParams, ...)

### Arguments

`daughtersParams` | a (ndaughters) x (nclus) matrix with the line vectors of the cost for the daughters node.

### Details

This function computes the cost of putting the parent in a state k, as the minimum number of shifts needed to get the given clustering of the trees bellow parental node.

### Value

A line vector corresponding to the parent node.

[Package PhylogeneticEM version 1.1.0 Index]