powered by
Set simulation study parameters for sample size
sim_samplesize(n_internal_control, n_external_control, n_internal_experimental)
Object of class SimSampleSize
SimSampleSize
integer. Number of patients to be simulated in the internal control arm.
integer. Number of patients to be simulated in the external control arm.
integer. Number of patients to be simulated in the internal experimental arm.
Other simulation: sim_covariates()
sim_covariates()
ss <- sim_samplesize(200, 200, 500)
Run the code above in your browser using DataLab