Description Usage Arguments Value
View source: R/218RelativeRisk.R
This function calculates the relative risk for an inputted 2 x 2 table
1 | relrisk(tab, conf.level = 0.95)
|
tab |
A 2 x 2 contingency table passed through |
conf.level |
The confidence level you are testing at; defaults to 95% |
Returns the relative risk test statistic, r, the confidence level of the interval, and the confidence interval itself.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.