This function calculates the relative risk for an inputted 2 x 2 table
relrisk(tab, conf.level = 0.95)
A 2 x 2 contingency table passed through
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.