| get.smart.prediction | R Documentation |
Retrieves .smart.prediction from
smartpredenv.
get.smart.prediction()
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.
Returns with the list .smart.prediction from
smartpredenv.
get.smart,
lm.
## Not run:
fit$smart <- get.smart.prediction() # Put at the end of lm()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.