calcPoisExact | R Documentation |
Calculate crude incidence rates using the Poisson exact method.
calcPoisExact(dat, byVar = "Year", fmt = TRUE)
dat |
A dataset from |
byVar |
Either "AgeCat" or "Year". |
fmt |
If TRUE, format by 100 person-years and round off to three decimal places. |
data.frame
Args <- setArgs(imputeMethod = imputeMidPoint)
rtdat <- getRTData(getHIV())
idat <- getIncData(rtdat, Args = Args)
idat_yr <- AggByYear(idat)
calcPoisExact(idat_yr, byVar="Year")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.