Learn R Programming

PhylogeneticEM (version 1.0.0)

compute_variance_covariance.BM: Complete variance covariance matrix for BM

Description

compute_variance_covariance.BM computes the (n+m)*p squared variance covariance matrix of vec(X).

Usage

compute_variance_covariance.BM(times_shared, params_old, ...)

Arguments

times_shared
times of shared ancestry of all nodes and tips, result of function compute_times_ca
params_old
(list) : old parameters to be used in the E step

Value

matrix of variance covariance for the BM