Internal helper function to add lower and upper confidence boundaries pointwise
compute_marginalAPCeffects(dat, model, variable, plot_CI = FALSE)
Dataset containing predicted effects for a grid of all APC dimensions and covariates used in the model.
One of c("age","period","cohort")
, specifying the
temporal dimension for which the partial effect plots should be created.
Indicator if 95% confidence intervals for marginal APC effects should be computed. Defaults to FALSE.
If the model was estimated with a log or logit link, the function automatically performs an exponential transformation of the effect.