Skip to contents

Data Simulation Object Class

Value

A DataSimObject

Slots

baseline

BaselineObject from create_baseline_object

coefficients

Named numeric vector of beta coefficients for survival model. See beta at ?simsurv::simsurv

treatment_hr

numeric treatment effect as a hazard ration. log(treatment_hr) is included in beta with coefficients and log(drift_hr). This default is overridden by generate arguments

drift_hr

numeric hazard ratio between internal and external arms. Included as log(drift_hr).

fixed_external_data

data.frame for external data. Currently unused.

event_dist

DataSimEvent parameters for outcome distribution from create_event_dist()

enrollment

DataSimEnrollment object.

cut_off

DataSimCutOff