wrapup.smart
deletes any variables used by smart prediction.
Needed by both the modelling function and the prediction function.
wrapup.smart()
The variables to be deleted are .smart.prediction
,
.smart.prediction.counter
, and .smart.prediction.mode
.
The function wrapup.smart
is useful in R because
these variables are held in smartpredenv
.
# NOT RUN {
# Place this inside modelling functions such as lm, glm, vglm.
wrapup.smart() # Put at the end of lm
# }
Run the code above in your browser using DataLab