Learn R Programming

latrend (version 1.1.0)

interface-mixAK: mixAK interface

Description

mixAK interface

Usage

# S4 method for lcMethodMixAK_GLMM
getName(object)

# S4 method for lcMethodMixAK_GLMM getShortName(object)

# S4 method for lcMethodMixAK_GLMM responseVariable(object)

# S4 method for lcMethodMixAK_GLMM preFit(method, data, envir, verbose, ...)

# S4 method for lcMethodMixAK_GLMM fit(method, data, envir, verbose, ...)

# S4 method for lcModelMixAK_GLMM postprob(object, ...)

# S4 method for lcModelMixAK_GLMM predictForCluster(object, newdata, cluster, what = "mu", ...)

# S4 method for lcModelMixAK_GLMM predictForCluster(object, newdata, cluster, what = "mu", ...)

# S3 method for lcModelMixAK_GLMM coef(object, ..., stat = "Mean")

# S3 method for lcModelMixAK_GLMM deviance(object, ...)

# S4 method for lcModelMixAK_GLMMlist postprob(object, ...)

# S4 method for lcModelMixAK_GLMMlist predictForCluster(object, newdata, cluster, what = "mu", ...)

Arguments

object

The object to extract the label from.

method

The lcMethod object.

data

The data, as a data.frame, on which the model will be trained.

envir

The environment in which the lcMethod should be evaluated

verbose

A R.utils::Verbose object indicating the level of verbosity.

...

Additional arguments.

newdata

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.

cluster

The cluster name (as character) to predict for.

what

The distributional parameter to predict. By default, the mean response 'mu' is predicted. The cluster membership predictions can be obtained by specifying what = 'mb'.

stat

The aggregate statistic to extract. The mean is used by default.

See Also

lcMethodMixAK_GLMM GLMM_MCMC