powered by
Select best PRECAST model from candidated models with different number of clusters.
# S3 method for SeqK_PRECAST_Object SelectModel(obj, criteria = 'MBIC',pen_const=1, return_para_est=FALSE) # S3 method for PRECASTObj SelectModel(obj, criteria = 'MBIC',pen_const=1, return_para_est=FALSE)
Return a revised PRECASTObj object.
a SeqK_PRECAST_Object or PRECASTObj object after PRECAST model fitting.
a string, specify the criteria used for selecting the number of clusters, supporting "MBIC", "BIC" and "AIC".
an optional positive value, the adjusted constant used in the MBIC criteria.
an optional logical value, whether return the other paramters' estimators in PRECAST.
Wei Liu
Nothing
None
data(PRECASTObj) PRECASTObj <- SelectModel(PRECASTObj)
Run the code above in your browser using DataLab