Learn R Programming

sBIC (version 0.2.0)

getCovMat: 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)
"getCovMat"(this, edgeCorrelations)

Arguments

this
the LatentForests object.
edgeCorrelations
the edge correlations in a numeric vector.