selectModel.Rd
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)
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.
Nothing
Return a revised PRECASTObj object.
nothing
None
data(PRECASTObj)
PRECASTObj <- SelectModel(PRECASTObj)