Remove large attributes from marginaleffects objects to reduce memory usage.
Warning: This will disable many useful post-processing features of marginaleffects
Usage
# S3 method for class 'marginaleffects'
prune(tree, component = "all", ...)Remove large attributes from marginaleffects objects to reduce memory usage.
Warning: This will disable many useful post-processing features of marginaleffects
# S3 method for class 'marginaleffects'
prune(tree, component = "all", ...)