-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
featurea feature request or enhancementa feature request or enhancement
Description
I am trying to use the butcher package to cut down on the size of fitted objects, in my case fits using lme4::lmer. That led me to parsnip, then here!
I would have thought this would work, but it doesn't.
library(multilevelmod)
#> Loading required package: parsnip
data(sleepstudy, package = "lme4")
mixed_model_spec <- linear_reg() %>% set_engine("lmer")
mixed_model_fit <-
mixed_model_spec %>%
fit(Reaction ~ Days + (Days | Subject), data = sleepstudy)
mixed_model_fitChecking the size of the fits:
> object.size(mixed_model_fit)
67120 bytes
> object.size(butcher(mixed_model_fit))
67120 bytesWhat am I missing?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement