tkt_rexp: Simulate time to events in days

View source: R/toolkits.R

tkt_rexpR Documentation

Simulate time to events in days

Description

Simulate time to events in days

Usage

tkt_rexp(
  ntot,
  hazard = NULL,
  median_mth = 5,
  annual_drop = NULL,
  mth_to_days = 30.4,
  take_floor = TRUE
)

Arguments

ntot

total number of patients

hazard

hazard for event

median_mth

median survival in months

annual_drop

annual drop rate


olssol/tburden documentation built on April 27, 2023, 12:14 p.m.