Create age specific rate.
create_age_rate.Rd
Create age specific rate.
Usage
create_age_rate(
x,
...,
event = fbs,
rks = rks,
agegrp = agegrp,
type = "long",
mp = 1e+05,
decimal = 2
)
Arguments
- x
Object of data with class of 'fbswicd' or 'canreg'.
- ...
Variable name used for stratification.
- event
Event used for age specific rate.
- rks
Risk population.
- agegrp
Variable name indicate age groups.
- type
Data frame format long or wide.
- mp
Correction factor.
- decimal
Decimal places for rounding.