prune.marginaleffects | R Documentation |
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", ...)
tree |
A marginaleffects object (predictions, comparisons, slopes, or hypotheses) |
component |
A character string indicating which component to prune: "all" or "modeldata". |
... |
Unused |
...
A pruned marginaleffects object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.