study_details function

Details of the clinical study

Details of the clinical study

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 number of sample size needed.
  • study_period: integer. The length of the study.
  • interim_look: vector. Vector with interim looks.
  • prop_loss_to_followup: integer. The proportion of loss to follow up.
  • .data: NULL. This should not be changed by the user.

Returns

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))