Description Usage Arguments Examples
Given counts in a two-by-two table, computes risk ratio and confidence interval limits.
1 | twoXtwoRR(n11, n10, n01, n00, alpha = 0.05)
|
n11 |
Number exposed (X=1) and diseased (D=1) |
n10 |
Number exposed (X=1) and not diseased (D=0) |
n01 |
Number unexposed (X=0) and diseased (D=1) |
n00 |
Number unexposed (X=0) and not diseased (D=0) |
alpha |
Alpha level associated with confidence interval |
1 2 3 4 5 6 7 | # Hammond and Holl (1958 JAMA) Data
# Two by Two Table
# Lung Cancer No Lung Cancer
# Smoker 397 78557
# Nonsmoker 51 108778
twoXtwoRR(397, 78557, 51, 108778)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.