Learn R Programming

MuMIn (version 1.7.0)

gamm-wrapper: Updateable gamm

Description

Enables updating of the model objects fitted by gamm and gamm4 from packages mgcv and gamm4.

Usage

gamm(formula, random = NULL, ..., lme4 = inherits(random, "formula"))

Arguments

Value

  • Depending on the value of the 'lme4' switch, either a gamm or gamm4 fitted model object. The only difference from the original object is an addition of the call component.

encoding

utf-8

Details

This function is just a wrapper for gamm and gamm4. The only purpose of it is to add a call component, that is not provided by gamm* as such. It allows update on the returned object, so also makes possible using it in model selection with dredge.

This is only a temporary workaround and it is likely be removed soon.

See Also

gamm and gamm4