compute_diff_exp.BM: Compute differences of expectations between node and parent.

View source: R/M_step.R

compute_diff_exp.BMR Documentation

Compute differences of expectations between node and parent.

Description

compute_diff_exp compute the differences of conditional expectations between all the nodes and their parents.

Usage

compute_diff_exp.BM(phylo, conditional_law_X)

Arguments

phylo

a phylogenetic tree

conditional_law_X

result of function compute_E

Value

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


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