test_hypothesis()has been overhauled to allow selection of the test to be used and return of a list which includes the test name.
calc_cumsum()function has been removed.
Introduced functions to facility creation of CUSUM charts. These include
P-value formatting has been moved to an exported function,
Fixes & Minor Changes
ggplot2added as a suggested dependency.
paste_efs()now sets the names of the returned vector using the times provided.
pkgdownwebsite for the package.
CRAN release: 2022-11-20
calc_durationcasting for upcoming purrr 1.0.0 release (Thanks Hadley!)
CRAN release: 2022-02-20
Fixed faulty class check in
test_hypothesisand updated documentation for clarity.
calc_cumsumwhich provides additional NA handling when calculating cummulative sums.
Fixed LazyData CRAN error.
CRAN release: 2020-06-04
The final tabulate function,
tabulate_at_risk, has been removed after being internalized by
Fixed incorrect estimate rounding in <1 checks for
Fixed issue where
test_hypothesiswould not accept logical stratification data.
Added more reliable type checking and recycling to
All functions now use a consistent x/y argument style.
CRAN release: 2020-04-30
paste0(). Base functions with added option for NA removal. Default behavior identical to base functions.
tabulate_model(). Feature parity has been provided in
Pruned dependency list.
CRAN release: 2020-03-14
calc_duration(): Now supports the return of a
lubridate::duration()object when the units parameter is left unspecified.
CRAN release: 2019-12-01
Improved NA value handling of
- Added support for tallying factors.
- Removed default rounding of numerators <1 to 0.
- Calculated percentages may now return as infinity.
paste_functions: Fixed parameter naming [BREAKING CHANGE]
test_hypothesis()which has S3 methods for numeric, factor, and logical data. Numeric methods now support >2 strata. [BREAKING CHANGE]
CRAN release: 2019-10-19
chunk_data_(). Tools for breaking tibbles, data frames, and vectors into smaller, usable chunks of data.
tabulate_model(): Formatted tables now combine the point estimate and confidence interval into a single column to be more consistent with the output of
paste_freq(): Non-numeric data is now tallied and documentation has been updated.
paste_efs(): Added checks for numeric data.
CRAN release: 2019-09-19
calc_duration(): Added support for multiple calculations against a single timepoint.
CRAN release: 2019-07-01
tabulate_model(): Rethought the purpose of this function.
format=option to return a human-readable, ready-to-export table.
tabulate_model.glm()which only supports the ‘binomial’ family of glm functions for now.
tabulate_model.lm()for linear regression model support.
tabulate_model.survfit()as other packages (i.e. ‘broom’) already provide this functionality.
- Refactored function design to make adding new methods easier.
tabulate_logit(): Removed now that support has been added to
tabulate_at_risk(): Now returns the strata column as factor instead of character type.
paste_freq(): Switched from an S3 object to a regular function.
- Fixed NA handling.
- Added support for vectorized data (i.e.
- Removed support for logical data. This seemed to be an edge case and was interfering with NA handling. May reconsider in future.
paste_mean(): Fixed logic for returning ‘<1’ if a statistic rounds to 0 and
- Fixed NA handling.
- Added hard stops for data types and vectors lengths.
- Improved handling of vectorized data (i.e.
- Added logic to ignore timestamps if mixed data types given (i.e. start = POSIXt, end = Date).
- Removed rounding of negative numbers to 0.