Skip to contents

Creates a vector containing data on the new trial in the target population. This may be hypothetical data in the planning stage.

Usage

create_new_trial_data(n_total, est, se)

Arguments

n_total

The total sample size.

est

Treatment effect estimate.

se

Standard error of the treatment effect estimate.

Value

A numeric vector with data on the new trial, incl. quantiles of an assumed normal data likelihood.

See also

[create_posterior_data()] and [create_tipmap_data()].

Examples

new_trial_data <- create_new_trial_data(
  n_total = 30, est = 1.27, se = 0.95
)