rr | R Documentation |
Calculate relative risk from a 2x2 table
rr(x, margin)
x |
Table |
margin |
As in |
m <- matrix(4:1, 2)
rr(m, 1)
rr(m, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.