calc_incidence() and calc_burden(), slightly modified. If the confidence interval lower bound is negative, then it is replaced by zero.
CITATION file added
The "nomenclature" now is changed:
gg_injriskmatrix() -> gg_riskmatrix()gg_injphoto() -> gg_photo()gg_injbarplot() -> gg_rank() some new functionalities also added to these functions.injsummary() function has been split into smaller functions and its name now is: injsummary() -> calc_summary(). New (auxiliary) functions created:
- calc_ncases()
- calc_ndayslost()
- calc_exposure()
- calc_mean_dayslost()
- calc_median_dayslost()
- calc_iqr_dayslost()
- calc_incidence()
- calc_burden().
injprev() has been modified and named calc_prevalence(). Also, gg_injprev_polar() has been modified and named gg_prevalence().
prepare_all() has been modified: some attributes have been removed, and, in general, has been made more efficient/faster.
Created some utility and help functions.
gg_injriskmatrix now has cont_max_x and cont_max_y arguments to (optionally) control the ranges of contour lines and allows to pass on more arguments to geom_contour(), e.g. bins = , binwidth = , etc.conf_level.dplyr