getCovMat {sBIC}R Documentation

Create a covariance matrix.

Description

Creates a covariance matrix for the latent forest model where edge correlations are given. Here edge correlations are given as a vector and correspond (in order) to the edges returned by this$getAllEdges().

Usage

getCovMat(this, edgeCorrelations)

## S3 method for class 'LatentForests'
getCovMat(this, edgeCorrelations)

Arguments

this

the LatentForests object.

edgeCorrelations

the edge correlations in a numeric vector.


[Package sBIC version 0.2.0 Index]