blc_2: The blc_2 function

blc_2R Documentation

The blc_2 function

Description

Internal. Fits a beta mixture model for any number of classes. Adapted from RPMM package.

Usage

blc_2(Y, w, maxiter = 25, tol = 1e-06, weights = NULL, verbose = TRUE)

Arguments

Y

Data matrix (n x j) on which to perform clustering.

w

Initial weight matrix (n x k) representing classification.

maxiter

Maximum number of EM iterations.

tol

Convergence tolerance.

weights

Case weights.

verbose

Verbose output.

Value

A list of parameters representing mixture model fit, including posterior weights and log-likelihood.


gevaertlab/EpiMix documentation built on July 20, 2023, 9:28 a.m.