CN.R: CN Clustering

Description Usage Arguments Value Examples

View source: R/CNM_function.R

Description

Implement constrained Newton method to estimate the parameters and mixture proportions.

Usage

1
CN.R(data_x, it_num, inf, sup)

Arguments

data_x

sample from GMM

it_num

number of iterations

inf

inf bound of the range for searching for parameters

sup

sup bound of the range for searching for parameters

Value

the clustering parameters and proportions

Examples

1
2
3
4
5
## Not run: 
data_x = c(rnorm(500,0),rnorm(500,2));
M = CN.R(data_x, it_num = 20, inf = -1.5, sup = 3.5);M

## End(Not run)

Sirui522/SCtry2333 documentation built on Jan. 3, 2020, 12:11 a.m.