gssObj: Generic Function and Methods for Extracting a gss object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/gsspsth.R

Description

Some functions of STAR, like gsspsth, gsspsth0 and gsslockedTrain, gsslockedTrain0 perform gss fits internally and keep as a list component or within the environment of a returned function the result of this fit. Method gssObj extracts this gss object.

Usage

1
2
3
4
5
6
7
8
9
gssObj(object, ...)
## S3 method for class 'gsspsth'
gssObj(object, ...)
## S3 method for class 'gsspsth0'
gssObj(object, ...)
## S3 method for class 'gsslockedTrain'
gssObj(object, ...)
## S3 method for class 'gsslockedTrain0'
gssObj(object, ...)

Arguments

object

an object containing a gssanova or a gssanova0 object. Currently the result of a call to gsspsth, gsspsth0 or to gsslockedTrain, gsslockedTrain0.

...

not used for now

Value

A gssanova or a gssanova0 object.

Author(s)

Christophe Pouzat christophe.pouzat@gmail.com

See Also

gssanova, gssanova0, gsspsth, gsspsth0, gsslockedTrain, gsslockedTrain0

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.