Wrapper around predict.gllvm that, for mixed-response models (those fitted with a per-observation family vector), collapses the internal wide-format prediction matrix back to a long-format numeric vector aligned with the original observations.

# S3 method for class 'glmmVA'
predict(object, ...)

Arguments

object

an object of class "glmmVA".

...

further arguments passed to predict.gllvm.

Value

For univariate models: the same object returned by predict.gllvm. For mixed-response models: a numeric vector of length nobs(object).

See also

Author

Bert van der Veen