View source: R/compare_rates.R
OddsRatio | R Documentation |
Calculate the odds ratio comparing two treatment arms. Input data.frame should contain arm, taking values 0 and 1, the event rate, and the standard error.
OddsRatio(
rates,
alpha = 0.05,
arm_name = "arm",
rate_name = "rate",
se_name = "se"
)
rates |
Data.frame. |
alpha |
Type I error. |
arm_name |
Name of arm column. |
rate_name |
Name of rate column. |
se_name |
Name of standard error column. |
Data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.