Learn R Programming

RprobitB (version 1.2.0)

cov_mix: Extract estimated covariance matrix of mixing distribution

Description

This convenience function returns the estimated covariance matrix of the mixing distribution.

Usage

cov_mix(x, cor = FALSE)

Value

The estimated covariance matrix of the mixing distribution. In case of multiple classes, a list of matrices for each class.

Arguments

x

An object of class RprobitB_fit.

cor

If TRUE, returns the correlation matrix instead.