gamObj {STAR}R Documentation

Generic Function and Methods for Extracting a gamObject

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

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

##

[Package STAR version 0.2-2 Index]