Wrapper function for details of the clinical trial simulation.

study_details(
  total_sample_size,
  study_period,
  interim_look = NULL,
  prop_loss_to_followup = 0.1,
  .data = NULL
)

Arguments

total_sample_size

integer. The total sample size.

study_period

integer. The length of the study (in days).

interim_look

vector. Vector with interim looks (sample sizes).

prop_loss_to_followup

integer. The proportion of loss to follow-up.

.data

NULL. This should not be changed by the user.

Value

A list with sample size, length of the study, interim looks and proportion loss to follow up.

Examples

study_details(total_sample_size = 300, study_period = 50, interim_look = c(210, 240, 270))
#> $N_total #> [1] 300 #> #> $EndofStudy #> [1] 50 #> #> $interim_look #> [1] 210 240 270 #> #> $prop_loss_to_followup #> [1] 0.1 #>