Learn R Programming

wintime (version 0.2.0)

Win Time Methods for Time-to-Event Data in Clinical Trials

Description

Performs an analysis of time-to-event clinical trial data using various "win time" methods, including 'ewt', 'ewtr', 'rmt', 'max', 'wtr', 'rwtr', and 'pwt'. These methods are used to calculate and compare treatment effects on ordered composite endpoints. The package handles event times, event indicators, and treatment arm indicators and supports calculations on observed and resampled data. Detailed explanations of each method and usage examples are provided in "Use of win time for ordered composite endpoints in clinical trials," by Troendle et al. (2024). For more information, see the package documentation or the vignette titled "Introduction to wintime."

Copy Link

Version

Install

install.packages('wintime')

Monthly Downloads

562

Version

0.2.0

License

MIT + file LICENSE

Maintainer

James Troendle

Last Published

September 20th, 2024

Functions in wintime (0.2.0)

RWTR

Restricted win time ratio
getWintimeIntegral

Helper functions for package functions
WTR

Win time ratio
COMP

Run composite analysis
km

Fit a Kaplan-Meier model
bootstrap

Resample using bootstraps
setEventTimes

Created a sorted vector of event times
setKM

Set event times and indicators used in the Kaplan-Meier survival curve calculation
markov

Fit a Markov model
PWT

Pairwise win time
EWT

Expected win time
perm

Resample using permutations
wintime

Run a win time calculation
RMT

Restricted mean survival in favor of treatment
EWTR

Expected win time against reference