coef.gamtree: Extract coefficients from a GAM tree.

View source: R/gamtree.R

coef.gamtreeR Documentation

Extract coefficients from a GAM tree.

Description

coef.gamtree extracts fixed- or random-effects coefficients from a GAM tree.

Usage

## S3 method for class 'gamtree'
coef(object, which = "fixed", ...)

Arguments

object

an object of class "gamtree".

which

character. Either "fixed" (default) or "random", indicating that fixed- or random-effects coefficients should be returned, respectively.

...

further arguments to be passed to fixef.merMod or ranef.merMod.


marjoleinF/gamtree documentation built on July 3, 2024, 9:18 a.m.