compute_variance_covariance.scOU: Complete variance covariance matrix for scOU

View source: R/E_step.R

compute_variance_covariance.scOUR Documentation

Complete variance covariance matrix for scOU

Description

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

Usage

compute_variance_covariance.scOU(
  times_shared,
  distances_phylo,
  params_old,
  ...
)

Arguments

times_shared

times of shared ancestry of all nodes and tips, result of function compute_times_ca

distances_phylo

(matrix) : phylogenetic distance, result of function compute_dist_phy

params_old

(list) : old parameters to be used in the E step

Value

matrix of variance covariance for the scOU


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