Description Usage Arguments Value Examples
Calculate risk difference and 95 percent confidence interval using Wald method.
1 2 3 |
df |
a 2 x 2 frequency table. |
conf.level |
confidence level for confidence interval, default is 0.95. |
rev |
reverse order of cells. Options are "row", "columns", "both", and "neither" (default). |
... |
further arguments passed to or from other methods. |
a list with class "rdiff" containing the following components:
rd |
risk difference |
conf.level |
specified confidence level |
ci |
calculated confidence interval |
p1 |
proportion one |
p2 |
proportion two |
tab |
2x2 table using for calculating risk difference |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.