Incident Rate Ratio Calculator Tony Gojanovic
This simple calcultor computes the ratio of two incident rates (r1/r2) along with a 95% confidence interals. Specifically, calculating the following quantities:
IRR = (cases_post_intervention/time_post_intervention) / (cases_pre_intervention/time_pre_intervention)
CI = exp(ln(IRR) +/- 1.96*sqrt(1/cases_pre_intervention + 1/cases_post_intervention))
So, IRR is Incident Rate Ratio and in the abouve, caes pre and post are measured in "person years" but other types of standardizing factors may be used as well.
Package: IRRCalc
GitHub: https://github.com/cowboy2718/IRRCalc
Data for this calculator is input by the user.
The following indicates the status of the most recent build with Travis:
Algoritms based on Algorithm based on "Comparing two incident rate ratios,” https://stats.stackexchange.com/questions/297994/comparing-two-incidence-rate-ratios
The following were very useful links used in the development of this project.
- Building R Packages in R Studio, John Muschelli
- Putting your R Package on Github, Karl Broman
- RStudio & Github Integration, James Dayhuff
- Creating RStudio projects from GitHub Repositories, Nicholas Reich
- Developing R Packages | Part 7: Unit Testing, Colin Pistell
- Travis CI Tutorial - How to Use Travis CI with Github for Continuous Integration, Full Stack Academy