Skip to content

How to use butcher

butcher()
Butcher an object.
axe_call()
Axe a call.
axe_ctrl()
Axe controls.
axe_data()
Axe data.
axe_env()
Axe an environment.
axe_fitted()
Axe fitted values.

Specific butchering methods

axe_call(<C5.0>) axe_ctrl(<C5.0>) axe_fitted(<C5.0>)
Axing a C5.0.
axe_call(<KMeansCluster>) axe_fitted(<KMeansCluster>)
Axing a KMeansCluster.
axe_call(<NaiveBayes>) axe_data(<NaiveBayes>)
Axing a NaiveBayes.
axe_call(<bart>) axe_fitted(<bart>)
Axing a bart model.
axe_env(<coxph>) axe_data(<coxph>)
Axing a coxph.
axe_call(<earth>) axe_data(<earth>) axe_fitted(<earth>)
Axing an earth object.
axe_call(<elnet>)
Axing an elnet.
axe_call(<flexsurvreg>) axe_env(<flexsurvreg>)
Axing an flexsurvreg.
axe_env(<formula>)
Axing formulas.
axe_env(<function>)
Axing functions.
axe_call(<gam>) axe_ctrl(<gam>) axe_data(<gam>) axe_env(<gam>) axe_fitted(<gam>)
Axing a gam.
axe_call(<gausspr>) axe_data(<gausspr>) axe_env(<gausspr>) axe_fitted(<gausspr>)
Axing a gausspr.
axe_call(<glm>) axe_data(<glm>) axe_env(<glm>) axe_fitted(<glm>)
Axing a glm.
axe_call(<glmnet>)
Axing a glmnet.
axe_call(<regbagg>) axe_call(<classbagg>) axe_call(<survbagg>) axe_ctrl(<regbagg>) axe_ctrl(<classbagg>) axe_ctrl(<survbagg>) axe_data(<regbagg>) axe_data(<classbagg>) axe_data(<survbagg>) axe_env(<regbagg>) axe_env(<classbagg>) axe_env(<survbagg>)
Axing a bagged tree.
axe_call(<kknn>) axe_env(<kknn>) axe_fitted(<kknn>)
Axing an kknn.
axe_data(<kproto>) axe_fitted(<kproto>)
Axing a kproto.
axe_call(<ksvm>) axe_data(<ksvm>) axe_fitted(<ksvm>)
Axing a ksvm object.
axe_call(<lm>) axe_env(<lm>) axe_fitted(<lm>)
Axing an lm.
axe_env(<lda>) axe_env(<qda>)
Axing a MASS discriminant analysis object.
axe_call(<mda>) axe_call(<fda>) axe_env(<mda>) axe_env(<fda>) axe_fitted(<mda>) axe_fitted(<fda>)
Axing a mda.
axe_call(<model_fit>) axe_ctrl(<model_fit>) axe_data(<model_fit>) axe_env(<model_fit>) axe_fitted(<model_fit>)
Axing an model_fit.
axe_call(<multnet>)
Axing an multnet.
axe_call(<nested_model_fit>) axe_ctrl(<nested_model_fit>) axe_data(<nested_model_fit>) axe_env(<nested_model_fit>) axe_fitted(<nested_model_fit>)
Axing a nested_model_fit.
axe_call(<nnet>) axe_env(<nnet>) axe_fitted(<nnet>)
Axing a nnet.
axe_call(<mixo_pls>) axe_call(<mixo_spls>) axe_data(<mixo_pls>) axe_data(<mixo_spls>) axe_fitted(<mixo_pls>) axe_fitted(<mixo_spls>)
Axing mixOmics models
axe_call(<randomForest>) axe_ctrl(<randomForest>) axe_env(<randomForest>)
Axing an randomForest.
axe_call(<ranger>) axe_fitted(<ranger>)
Axing an ranger.
axe_call(<rda>) axe_env(<rda>)
Axing an rda.
axe_env(<recipe>) axe_env(<step>) axe_env(<step_arrange>) axe_env(<step_filter>) axe_env(<step_mutate>) axe_env(<step_slice>) axe_env(<step_impute_bag>) axe_env(<step_bagimpute>) axe_env(<step_impute_knn>) axe_env(<step_knnimpute>) axe_env(<step_geodist>) axe_env(<step_interact>) axe_env(<step_ratio>) axe_env(<quosure>) axe_fitted(<recipe>)
Axing a recipe object.
axe_call(<rpart>) axe_ctrl(<rpart>) axe_data(<rpart>) axe_env(<rpart>)
Axing a rpart.
axe_call(<sclass>) axe_env(<sclass>)
Axing a sclass object.
axe_call(<ml_model>) axe_ctrl(<ml_model>) axe_data(<ml_model>) axe_fitted(<ml_model>)
Axing a spark object.
axe_call(<survreg>) axe_data(<survreg>) axe_env(<survreg>)
Axing an survreg.
axe_call(<survreg.penal>) axe_data(<survreg.penal>) axe_env(<survreg.penal>)
Axing an survreg.penal
axe_env(<terms>)
Axing for terms inputs.
axe_call(<train>) axe_ctrl(<train>) axe_data(<train>) axe_env(<train>) axe_fitted(<train>)
Axing a train object.
axe_call(<train.recipe>) axe_ctrl(<train.recipe>) axe_data(<train.recipe>) axe_env(<train.recipe>) axe_fitted(<train.recipe>)
Axing a train.recipe object.
axe_call(<xgb.Booster>) axe_env(<xgb.Booster>)
Axing a xgb.Booster.
axe_call(<xrf>) axe_env(<xrf>)
Axing a xrf.

Adding new model objects

new_model_butcher()
New axe functions for a modeling object.
weigh()
Weigh the object.
locate()
Locate part of an object.