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.


RprobitB documentation built on Nov. 10, 2022, 5:12 p.m.