R: Compute weighted sum of var_diff

compute_sum_var_diff {PhylogeneticEM} | R Documentation

## Compute weighted sum of var_diff

### Description

`compute_sum_var_diff` computes sum_e edge ell_j * Var[X_j - X_pa(j) | Y]

### Usage

    compute_sum_var_diff(phylo, var_diff)

### Arguments

`phylo` | a phylogenetic tree
`var_diff` | result of function `compute_var_diff.BM`

### Value

matrix p x p

[Package PhylogeneticEM version 1.1.0 Index]