gamObj: Generic Function and Methods for Extracting a gamObject

Description Usage Arguments Value Author(s) See Also Examples

View source: R/gamObj.R

Description

Some functions of STAR, like gampsth and gamlockedTrain perform gam fits internally and keep as a list component or within the environment of a returned function the result of this fit. Method gamObj extracts this gam object.

Usage

1
2
3
4
5
gamObj(object, ...)
## S3 method for class 'gampsth'
gamObj(object, ...)
## S3 method for class 'gamlockedTrain'
gamObj(object, ...)

Arguments

object

an object containing a gamObject. Currently the result of a call to gampsth or to gamlockedTrain.

...

not used for now

Value

A gamObject

Author(s)

Christophe Pouzat christophe.pouzat@gmail.com

See Also

gam, gamObject, gampsth, gamlockedTrain

Examples

1
##

Example output

Loading required package: survival
Loading required package: mgcv
Loading required package: nlme
This is mgcv 1.8-28. For overview type 'help("mgcv-package")'.
Loading required package: R2HTML
Loading required package: gss
Loading required package: codetools

STAR documentation built on May 2, 2019, 11:44 a.m.