Effects from Fitted APC Model

# S3 method for apc
effects(object, mean = FALSE, quantiles = 0.5,
  update = FALSE, ...)

Arguments

object

an apc object

mean

logical. If TRUE, mean effects are computed

quantiles

Scalar or vector of quantiles to compute (only if mean=FALSE)

update

logical. If TRUE, the apc object including the effects is returned

...

Additional arguments will be ignored

Value

List of age, period, cohort effects or apc object including effects (if update=TRUE)

Examples

# NOT RUN {
data(apc)
model <- bamp(cases, population, age="rw1", period="rw1", cohort="rw1", periods_per_agegroup = 5)
effects(model)
# }