Learn R Programming

PhylogeneticEM (version 1.8.0)

compute_diff_exp.BM: 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)

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].

Arguments

phylo

a phylogenetic tree

conditional_law_X

result of function compute_E