put.smart | R Documentation |
Adds a list to the end of the list .smart.prediction
in
smartpredenv
.
put.smart(smart)
smart |
a list containing parameters needed later for smart prediction. |
put.smart
is used in "write"
mode within a smart function.
It saves parameters at the time of model fitting, which are
later used for prediction.
The function put.smart
is the opposite of
get.smart
, and both deal with the same contents.
Nothing is returned.
The variable .smart.prediction.counter
in
smartpredenv
is incremented beforehand,
and .smart.prediction[[.smart.prediction.counter]]
is
assigned the list smart
.
If the list .smart.prediction
in
smartpredenv
is not long enough
to hold smart
, then it is made larger, and the variable
.max.smart
in
smartpredenv
is adjusted accordingly.
get.smart
.
print(sm.min1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.