View source: R/sim_samplesize.R
sim_samplesize | R Documentation |
Set simulation study parameters for sample size
sim_samplesize(n_internal_control, n_external_control, n_internal_experimental)
n_internal_control |
integer. Number of patients to be simulated in the internal control arm. |
n_external_control |
integer. Number of patients to be simulated in the external control arm. |
n_internal_experimental |
integer. Number of patients to be simulated in the internal experimental arm. |
Object of class SimSampleSize
Other simulation:
sim_covariates()
ss <- sim_samplesize(200, 200, 500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.