flexmix interface
# S4 method for lcMethodFlexmix
getArgumentDefaults(object)# S4 method for lcMethodFlexmix
getArgumentExclusions(object)
# S4 method for lcMethodFlexmix
getName(object)
# S4 method for lcMethodFlexmix
getShortName(object)
# S4 method for lcMethodFlexmix
preFit(method, data, envir, verbose, ...)
# S4 method for lcMethodFlexmix
fit(method, data, envir, verbose, ...)
# S4 method for lcMethodFlexmixGBTM
getArgumentDefaults(object)
# S4 method for lcMethodFlexmixGBTM
getArgumentExclusions(object)
# S4 method for lcMethodFlexmixGBTM
getName(object)
# S4 method for lcMethodFlexmixGBTM
getShortName(object)
# S4 method for lcMethodFlexmixGBTM
preFit(method, data, envir, verbose)
# S3 method for lcModelFlexmix
fitted(object, ..., clusters = trajectoryAssignments(object))
# S4 method for lcModelFlexmix
predictForCluster(object, newdata, cluster, what = "mu", ...)
# S4 method for lcModelFlexmix
postprob(object, ...)
# S3 method for lcModelFlexmix
logLik(object, ...)
# S3 method for lcModelFlexmix
coef(object, ...)
# S4 method for lcModelFlexmix
converged(object, ...)
The lcModel object.
An object inheriting from lcMethod with all its arguments having been evaluated and finalized.
A data.frame representing the transformed training data.
The environment containing variables generated by prepareData() and preFit().
A R.utils::Verbose object indicating the level of verbosity.
Additional arguments.
Optional cluster assignments per id. If unspecified, a matrix is returned containing the cluster-specific predictions per column.
Optional data.frame for which to compute the model predictions. If omitted, the model training data is used.
Cluster trajectory predictions are made when ids are not specified.
The cluster name (as character) to predict for.
The distributional parameter to predict. By default, the mean response 'mu' is predicted. The cluster membership predictions can be obtained by specifying what = 'mb'.