Turn Per-Age Statistics On/Off

SetPerAgeStats(value = NULL)

Arguments

value

Desired value. Allowed values = "none" | "monthly" | "annual". Calling SetPerAgeStats() with no parameters or value = NULL returns the current state.

Value

Previous value (invisible)

Examples

if (FALSE) {
pacehrh::SetPerAgeStats("monthly") # Turn on per-age statistics
pacehrh::SetPerAgeStats() # Return current state
}