R: Get variance matrix of a node

get_variance_node {PhylogeneticEM} | R Documentation

## 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)

### Arguments

`node` | for which to extract the matrix.
`vars` | matrix of size p x p*(ntaxa+nNodes) result of function `compute_E.simple`, entry "variances" or "covariances".

### Value

sub-matrix of variance for the node.

[Package PhylogeneticEM version 1.1.0 Index]