Data Simulation Object Class
Slots
baseline
BaselineObject
from create_baseline_objectcoefficients
Named
numeric
vector ofbeta
coefficients for survival model. Seebeta
at?simsurv::simsurv
treatment_hr
numeric
treatment effect as a hazard ration.log(treatment_hr)
is included inbeta
withcoefficients
andlog(drift_hr)
. This default is overridden by generate argumentsdrift_hr
numeric
hazard ratio between internal and external arms. Included aslog(drift_hr)
.fixed_external_data
data.frame
for external data. Currently unused.event_dist
DataSimEvent
parameters for outcome distribution fromcreate_event_dist()
enrollment
DataSimEnrollment
object.cut_off
DataSimCutOff