butcher-package: Reduce the Size of Modeling Objects

Description Author(s) See Also


Reduce the size of modeling objects after fitting. These parsed-down versions of the original modeling object have been tested to work with their respective predict functions. Future iterations of this package should support additional analysis functions outside of just predict.

This package provides five S3 generics:

These specific attributes of the model objects are chosen as they are often not required for downstream data analysis functions to work and are often the heaviest components of the fitted object. By calling the wrapper function butcher, all the sub-axe functions listed above are executed on the model object, returning a butchered model object that has an additional butcher class assignment. If only a specific axe_ function is called, the axed model object will also have the same addition of a butcher class assignment.


Maintainer: Davis Vaughan davis@rstudio.com


See Also

Useful links:

butcher documentation built on June 28, 2021, 9:08 a.m.