compute_var_diff.BM: Compute variances of differences between nodes and parents.

View source: R/M_step.R

compute_var_diff.BMR Documentation

Compute variances of differences between nodes and parents.

Description

compute_var_diff computes variances of differences between all the nodes and their parents.

Usage

compute_var_diff.BM(phylo, conditional_law_X)

Arguments

phylo

a phylogenetic tree

conditional_law_X

result of function compute_E

Value

array p x p x Nedge containing, for each edge e finishing at node i, the quantity Var[Z_i-Z_pa(i)|Y].


pbastide/PhylogeneticEM documentation built on Feb. 12, 2024, 1:27 a.m.