| calcRelativeRisk | R Documentation |
Calculate RR value in table
calcRelativeRisk(mymatrix, alpha = 0.05, referencerow = 2)
mymatrix |
a two dimension matrix |
alpha |
P value |
referencerow |
disease |
string with value and ci
mymatrix <- matrix(c(156, 9421, 1531, 14797), nrow = 2, byrow = TRUE) calcRelativeRisk(mymatrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.