study_details: Details of the clinical study

Description Usage Arguments Value Examples

View source: R/wrapper.R

Description

Wrapper function for details of the clinical trial simulation.

Usage

1
2
3
4
5
6
7
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

1
2
study_details(total_sample_size = 300, study_period = 50,
                        interim_look = c(210, 240, 270))

thevaachandereng/bayesCT documentation built on July 25, 2020, 9:20 p.m.