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 spsth and slockedTrain 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 'spsth'
gamObj(object, ...)
## S3 method for class 'slockedTrain'
gamObj(object, ...)

Arguments

object

an object containing a gamObject. Currently the result of a call to spsth or to slockedTrain.

...

not used for now

Value

A gamObject

Author(s)

Christophe Pouzat christophe.pouzat@gmail.com

See Also

gam, gamObject, spsth, slockedTrain

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, 4:53 p.m.