get_variance_node: Get variance matrix of a node
Description
get_variance_node
returns the conditional variance of a node, or the conditional
covariance of a node and its parent.
Usage
get_variance_node(node, vars)
Value
sub-matrix of variance for the node.
Arguments
- node
for which to extract the matrix.
- vars
matrix of size p x p*(ntaxa+Nnode) result of function compute_E.simple
,
entry "variances" or "covariances".