pamm_ic objectR/pamm-ic-pool.R
strip_pamm_fit.RdRemoves the per-observation slots (model frame, fitted values, residuals,
working weights, ...) and the call (which captures the full PED data),
none of which are needed for the downstream multiple-imputation pooling: the
pooled add_* methods only require each fit's coefficients,
Vp/Ve and the smooth/parametric structure used by
predict(type = "lpmatrix"). Stripping makes the stored size independent
of the data set size, so memory does not blow up with many imputations.
strip_pamm_fit(fit)The same object with large per-observation slots removed; class and
everything needed for predict/coef/vcov are retained.