cov_mix: Extract estimated covariance matrix of mixing distribution

View source: R/model_evaluation.R

cov_mixR Documentation

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)

Arguments

x

An object of class RprobitB_fit.

cor

If TRUE, returns the correlation matrix instead.

Value

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


loelschlaeger/RprobitB documentation built on Oct. 15, 2024, 11:08 a.m.