| SelectModel {PRECAST} | R Documentation | 
Select best PRECAST model from candidated models
Description
Select best PRECAST model from candidated models with different number of clusters.
Usage
  ## S3 method for class 'SeqK_PRECAST_Object'
SelectModel(obj, criteria = 'MBIC',pen_const=1, return_para_est=FALSE)
  ## S3 method for class 'PRECASTObj'
SelectModel(obj, criteria = 'MBIC',pen_const=1, return_para_est=FALSE)
Arguments
| obj | a SeqK_PRECAST_Object or PRECASTObj object after PRECAST model fitting. | 
| criteria | a string, specify the criteria used for selecting the number of clusters, supporting "MBIC", "BIC" and "AIC". | 
| pen_const | an optional positive value, the adjusted constant used in the MBIC criteria. | 
| return_para_est | an optional logical value, whether return the other paramters' estimators in PRECAST. | 
Details
Nothing
Value
Return a revised PRECASTObj object.
Note
nothing
Author(s)
Wei Liu
See Also
None
Examples
  data(PRECASTObj)
  PRECASTObj <- SelectModel(PRECASTObj)
  
[Package PRECAST version 1.6.5 Index]