| axe_env {butcher} | R Documentation |
Axe an environment.
Description
Remove the environment(s) attached to modeling objects as they are
not required in the downstream analysis pipeline. If found,
the environment is replaced with rlang::base_env().
Usage
axe_env(x, verbose = FALSE, ...)
Arguments
x |
A model object. |
verbose |
Print information each time an axe method is executed.
Notes how much memory is released and what functions are
disabled. Default is |
... |
Any additional arguments related to axing. |
Value
Model object with empty environments.
Methods
See the following help topics for more details about individual methods:
butcher
axe-coxph:coxphaxe-flexsurvreg:flexsurvregaxe-formula:formulaaxe-function:functionaxe-gam:gamaxe-gausspr:gausspraxe-glm:glmaxe-ipred:classbagg,regbagg,survbaggaxe-kknn:kknnaxe-lm:lmaxe-mass:lda,qdaaxe-mda:fda,mdaaxe-model_fit:model_fitaxe-nested_model_fit:nested_model_fitaxe-nnet:nnetaxe-randomForest:randomForestaxe-rda:rdaaxe-recipe:quosure,recipe,step,step_arrange,step_bagimpute,step_filter,step_geodist,step_impute_bag,step_impute_knn,step_interact,step_knnimpute,step_mutate,step_ratio,step_sliceaxe-rpart:rpartaxe-sclass:sclassaxe-survreg:survregaxe-survreg.penal:survreg.penalaxe-terms:termsaxe-train:trainaxe-train.recipe:train.recipeaxe-xgb.Booster:xgb.Boosteraxe-xrf:xrf