powered by
Effects from Fitted APC Model
# S3 method for apc effects(object, mean = FALSE, quantiles = 0.5, update = FALSE, ...)
List of age, period, cohort effects or apc object including effects (if update=TRUE)
an apc object
logical. If TRUE, mean effects are computed
Scalar or vector of quantiles to compute (only if mean=FALSE)
logical. If TRUE, the apc object including the effects is returned
Additional arguments will be ignored
if (FALSE) { data(apc) model <- bamp(cases, population, age="rw1", period="rw1", cohort="rw1", periods_per_agegroup = 5) effects(model) }
Run the code above in your browser using DataLab