get.smart.prediction: Retrieves ".smart.prediction"

Description Usage Details Value See Also Examples

View source: R/smart.R

Description

Retrieves .smart.prediction from smartpredenv.

Usage

1

Details

A smart modelling function such as lm allows smart functions such as sm.bs to write to a data structure called .smart.prediction in smartpredenv. At the end of fitting, get.smart.prediction retrieves this data structure. It is then attached to the object, and used for prediction later.

Value

Returns with the list .smart.prediction from smartpredenv.

See Also

get.smart, lm.

Examples

1
2
3
4
## Not run: 
fit$smart <- get.smart.prediction()  # Put at the end of lm()

## End(Not run)

VGAM documentation built on Jan. 16, 2021, 5:21 p.m.