wrapup.smart: Cleans Up After Smart Prediction

Description Usage Details See Also Examples

View source: R/smart.R

Description

wrapup.smart deletes any variables used by smart prediction. Needed by both the modelling function and the prediction function.

Usage

1

Details

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.

See Also

setup.smart.

Examples

1
2
3
4
## Not run: # Place this inside modelling functions such as lm, glm, vglm.
wrapup.smart()  # Put at the end of lm

## End(Not run)

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