predict.mcemGLMM: Predict method for mcemGLMM objects

Description Usage Arguments Value Author(s)

View source: R/predict.mcemGLMM.R

Description

This functions returns predicted link function of observations for a model fitted with mcemGLMM.

Usage

1
2
  ## S3 method for class 'mcemGLMM'
predict(object, newdata, type = c("link", "response"), se.fit = FALSE, ...)

Arguments

object

a model fitted with the mcemGLMM function.

newdata

optional data frame with new data. The variable names must match the original variables. If missing, the function will return predicted values at each observation.

type

character string. The type of predictions to be returned. Either "link" or "response" predictions are available.

se.fit

logical. If true, standard erros will be returned.

...

additional arguments.

Value

A vector with the predictions from the observed data or by using the supplied new data.

Author(s)

Felipe Acosta Archila <[email protected]>


mcemGLM documentation built on May 29, 2017, 12:49 p.m.