Releases: bcgov/bcEpiRate
bcEpiRate v1.0.1
v1.0.1
Documentation improvements
-
Clarify ambiguity concerning the definition of SMR in the vignette
-
Change year in LICENSE and CITATION to 2022
bcEpiRate v1.0.0
v1.0.0
Breaking changes
-
get_ci()removed.get_ci_norm()replacesget_ci(..., dist = "normal")to calculate a normal distribution confidence interval.get_ci_lnorm()replacesget_ci(..., dist = "log normal")to calculate a log-normal distribution confidence interval.get_ci_pois()replacesget_ci(..., dist = "poisson")to calculate a Poisson distribution confidence interval.get_ci_gamma()has been introduced to calculate a gamma distribution confidence interval.
-
@detailstag in the documentation of each function listed above specifies where it appears throughout the package. -
std_rparameter replacesstd_rtinget_smr()so function can support the calculation of both rate- and risk-standardized mortality/morbidity ratios in the future.
New features
get_smr()can now construct confidence intervals. It usesget_ci_norm(),get_ci_lnorm(), andget_ci_pois()to build normal, log-normal, and Poisson distribution confidence intervals, respectively.
Minor improvements and fixes
-
get_ds_rt()now usesget_ci_norm(),get_ci_lnorm(),get_ci_gamma()to build normal, log-normal, and gamma distribution confidence intervals, respectively. -
get_ds_rt()now includes additional input validation forscaleandpower. -
get_spec_rt()now usesget_ci_norm(),get_ci_lnorm(),get_ci_pois()to build normal, log-normal, and Poisson distribution confidence intervals, respectively. -
get_smr()no longer issues a warning or throws an error when there areNAvalues in its input arguments. -
Input validation: error message is complete and consistent for a given parameter. When an input fails to satisfy a constraint, all constraints that must be satisfied are returned in the error message.
Documentation improvements
-
@referencestag in the function documentation points users to the SAS STDRATE Procedure documentation. -
Terminology made more consistent across the package (e.g. all instances of "whole number" replaced with "integer").