blc_2 {MethylMix} | R 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.

[Package MethylMix version 2.16.0 Index]