Learn R Programming

psborrow2 (version 0.0.4.0)

sim_samplesize: Set simulation study parameters for sample size

Description

Set simulation study parameters for sample size

Usage

sim_samplesize(n_internal_control, n_external_control, n_internal_experimental)

Value

Object of class SimSampleSize

Arguments

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.

See Also

Other simulation: sim_covariates()

Examples

Run this code
ss <- sim_samplesize(200, 200, 500)

Run the code above in your browser using DataLab