FUN.predict: prediction function for partialResiduals

FUN.predictR Documentation

prediction function for partialResiduals

Description

Suggestion of functions to obtain confidence intervals with mixed models

Usage

predict_merTools(object, newdata, level, conditional, interval, ...)

predict_AICcmodavg(object, newdata, level, conditional, interval, ...)

Arguments

object

a model

newdata

the dataset used to make the predictions

level

the confidence level for the intervals

conditional

are the predictions conditional to the random effect? (if any)

interval

the type of interval, prediction or confidence

...

not used

Details

predict_merTools is based on the predictInterval function of the merTools package and is only compatible with lmer models.

predict_AICcmodavg is based on the predictSE function of the AICcmodavg package and is compatible with lmer, lme, and gls models. It can only be used to obtain confidence intervals.

See the details of the documentation of these functions for more information about the validity of the intervals.


bozenne/butils documentation built on July 3, 2024, 2:34 p.m.