Compute incidence
computeIncidence.Rd
Computes the incidence for a specific population
Arguments
- population
A data frame describing the study population as created using the
createStudyPopulation
function. This should at least have these columns: personSeqId, treatment, outcomeCount, timeAtRisk.- alpha
Type I error.
- power
1 - beta, where beta is the type II error.
- twoSided
Consider a two-sided test?
- modelType
The type of outcome model that will be used. Possible values are "logistic", "poisson", or "cox". Currently only "cox" is supported.