#Overview# This package enables the removal of training data from fitted R models while retaining predict functionality. The purged models are more portable as their memory footprints do not scale with the training sample size.
#Example Usage#
<- rnorm(1000)
x <- x + rnorm(1000)
y <- lm(y ~ x)
unpurged.model <- purge(unpurged.model)
purged.model object.size(unpurged.model)
object.size(purged.model)
#Installation#
if (!require(devtools)) install.packages("devtools")
:::install_github("massmutual/purge") devtools