Learn R Programming

PhylogeneticEM (version 1.0.0)

compute_var_M.BM: Computation of the variance.

Description

compute_var_M.BM finds the variance that is the maximum of likelihood

Usage

compute_var_M.BM(phylo, var_diff, diff_exp, edges_max, random.root, mu)

Arguments

phylo
Tree
var_diff
variances of differences result of function compute_var_diff.BM
diff_exp
differences of expectations result of function compute_diff_exp.BM
edges_max
Edges where the shifts occur result of function segmentation.BM

Value

a p x p matrix : the computed variance

Details

Given the variances, the costs0 and the edges where the shifts occurs, the computation of the maximum of likelihood in the variance is simple.