effects.apc {bamp} | R Documentation |
Effects from Fitted APC Model
## S3 method for class 'apc' effects(object, mean = FALSE, quantiles = 0.5, update = FALSE, ...)
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 |
List of age, period, cohort effects or apc object including effects (if update=TRUE)
## Not run: data(apc) model <- bamp(cases, population, age="rw1", period="rw1", cohort="rw1", periods_per_agegroup = 5) effects(model) ## End(Not run)