optimal_K: optimal_K

Description Usage Arguments Value

View source: R/optimal_K.R

Description

Assesses the optimal number of components GMM.

Usage

1
optimal_K(data, max_comp, criterion, take_resist = F)

Arguments

data

binned data

max_comp

the maximal K which should be tried, function will try 1:max comp values of

criterion

which criterion should be used, one can choose either AIC or BIC

take_resist

logical, whether resistant observations - first column of the data - should be used, default is FALSE

Value


sp2019-antibiotics/semiparclust documentation built on Nov. 5, 2019, 9:14 a.m.