rate_ratio | R Documentation |
Estimate rate ratio along with confidence interval and p-value.
rate_ratio(a, b, time.a, time.b, conf.level = 0.95)
a |
The number of events in group a. |
b |
The number of events in group b. |
time.a |
Time under risk of group a. |
time.b |
Time under risk of group b. |
conf.level |
Confidence level (default = 0.95) |
Tidy version of Minato Nakazawa's fmsb::rateratio() function.
The function returns a data.frame with four variables:
EST
Point estimate
CIL
Confidence interval, lower bound
CIU
Confidence interval, upper bound
PVAL
p-Value
https://mirror.linux.duke.edu/cran/web/packages/fmsb/index.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.