CSMR: The main function of the CSMR algorithm.

View source: R/CSMR.R

CSMRR Documentation

The main function of the CSMR algorithm.

Description

The main function of the CSMR algorithm.

Usage

CSMR(x, y, nc, max_iter)

Arguments

x

The matrix

y

The external supervised variable.

nc

The component number in the mixture model.

max_iter

The maximum iteration number.

Value

A list object consist of coefficient, clustering membership, data x, external variable y, predicted y based on regression model.


zcslab/CSMR documentation built on Jan. 12, 2023, 7:39 a.m.