View source: R/calcSampleSizeForRCT.R
| calcSampleSizeForRCT | R Documentation |
calcSampleSizeForRCT
calcSampleSizeForRCT(alpha, gamma, piT, piC, p = 0)
alpha |
the significance level |
gamma |
the power that you want |
piT |
the estimated incidences of the disease in the disease |
piC |
the estimated incidences of the disease in the control |
p |
lost follow-up ratio |
string
calcSampleSizeForRCT(alpha=0.05, gamma=0.80, piT=0.15, piC=0.2) #tatol sample should be doubled
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.