Learn R Programming

VGAM (version 0.9-4)

wrapup.smart: Cleans Up After Smart Prediction

Description

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

Usage

wrapup.smart()

Arguments

Details

The variables to be deleted are .smart.prediction, .smart.prediction.counter, and .smart.prediction.mode. The function wrapup.smart is useful in Rbecause these variables are held in smartpredenv.

References

See the technical help file at http://www.stat.auckland.ac.nz/~yee for details.

See Also

setup.smart.

Examples

Run this code
# 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