Learn R Programming

STAR (version 0.3-7)

gamObj: 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, ...) "gamObj"(object, ...) "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

See Also

gam, gamObject, gampsth, gamlockedTrain

Examples

Run this code
##

Run the code above in your browser using DataLab