Simulate Survival Data for Randomized Clinical Trials


[Up] [Top]

Documentation for package ‘TwoArmSurvSim’ version 0.2

Help Pages

censordata Censor Events Given a Fixed Dropout Rate
censor_surv censor survival event
column_freq Calculate the Combination Frequency of Several Columns within a Data Frame
cov_simu Simulate Covariates Matrix Based on User Provided Factor Information
dummy_convert Convert Categorical Data to Dummy Variables
LambdaCensor Find the Censor Hazard Function Parameter for Proportional Hazard Model Given a Fixed Dropout Rate
LambdaCensor_betapw Find the Censor Hazard Function Parameter for Nonproportional Hazard Model Given a Fixed Dropout Rate
linear_accrual Simulate Accrual Time Where the Accrual Rate is Linearly Increased
objfunction Objective Function for the Finding of Censor Hazard Function Parameter for Proportional Hazard Model
objfunction_betapw Objective Function for The Finding of Censor Hazard Function Parameter for Nonproportional Hazard Model
projection Event and Trial Projection
projection_simulation Project Final Event Numbers or Trial Stop Time Based on Interim Analysis Data
randomize_trt Generate Block Randomized Treatment Label Based on Covariates Matrix
randomize_trt2 Generate Block Randomized Treatment Label Based on Covariates Matrix for Two Arm Trial
run_simulation Run Clinical Trial Simulations Based on User Defined Trial Settings
run_simulation_simsurv Run Clinical Trial Simulations Based on survival data generated by simsurv package
self_blockrand Block Randomization
step_accrual Simulate Accrual Time
surv_data_simulation Simulate Survival Data
trial_data_simulation Simulate Clinical Trial with Accrual Time and Trial Stop Rules
weibullsim Simulate Event Time with weibull Hazard Function
weibullsim_betapw Simulate Event Time with weibull Hazard Function and Piecewise Hazard Ratios
weibullsim_pw Simulate event time with weibull hazard function. The parameters can be piecewise.