Description Usage Arguments Value
Given stratified event count data for two arms, analyze the marginal event rates via the risk difference, risk ratio, and odds ratio.
1 2 3 4 5 6 7 8 9 10 11 12 |
y0 |
Events per category in arm 0. |
n0 |
Subjects per category in arm 0. |
y1 |
Events per category in arm 1. |
n1 |
Subjects per category in arm 1. |
weights |
Stratum mixing weights. If omitted, defaults to the stratum proportions. |
alpha |
Type I error. |
boot |
Calculate bootstrap confidence intervals? |
perm |
Perform a permutation-type test of the null? |
reps |
Replicates for bootstrap/permutation. |
exclude_double_zero |
Exclude strata with no events in either arm? |
Object of class 'margRates' containing these slots:
'@Rates', the marginal event rates in each arm.
'@RD', risk difference analysis.
'@RR', risk ratio analysis.
'@OR', odds ratio analysis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.