Learn R Programming

utile.tools

Overview

Convenience utilities for formatting and summarizing data for outcomes research.

paste_

Functions such as paste_freq() and paste_mean(), which return formatted statistics for writing.

calc_

Convenience functions for frequently used calculations, such as the duration of time between two date objects with calc_duration().

cusum_

Functions which take a dichotomous procedure outcome and return prepared data for producing CUSUM curves. Available options range from simple cumulative sum of failures with cusum_failure() to risk-adjusted sequential probability ratio tests with cusum_sprt().

test_

Simple null hypothesis testing of stratified continuous or nominal data with the test_hypothesis() function. Returns a list containing test results.

Copy Link

Version

Install

install.packages('utile.tools')

Monthly Downloads

291

Version

0.3.0

License

LGPL (>= 2)

Maintainer

Eric Finnesgard

Last Published

January 24th, 2023

Functions in utile.tools (0.3.0)

paste_efs

Paste event-free survival
paste_freq

Paste frequency
paste_pval

Paste p-value
paste_mean

Paste mean
test_hypothesis

Test the null hypothesis
cusum_loglike

Cumulative Sum of Log-Likelihood Ratio
paste_median

Paste median
calc_chunks

Calculate data chunk indices
calc_duration

Calculate durations of time
cusum_ome

Cumulative Sum of Observed Minus Expected Outcome
chunk_data_

Break data into chunks
cusum_failure

Cumulative Sum of Failures
cusum_sprt

Risk-adjusted Sequential Probability Ratio Test (SPRT)
paste

Concatenate strings