getStdRate {diseasemapping} | R Documentation |
A function to calculate the standard rate according to the Canadian standard population data set from year 1991.
getStdRate(relativeRate, model, referencePopulation, scale = 1e+05)
relativeRate |
the relative cancer rate calculated by glmmBUGS of different sex and age group of people from ontario . |
model |
Model to standardize to, either |
referencePopulation |
population to standardize to |
scale |
compute the expected rate per ‘scale’ number of people. |
Lutong Zhou
data(kentucky) kentucky2 = getSMR(kentucky, larynxRates, larynx, regionCode="County") data(referencepop) newpop <- getStdRate(kentucky2$SMR, larynxRates, referencepop, scale=100000) newpop[1:10]