powered by
Creates a vector containing data on the new trial in the target population. This may be hypothetical data in the planning stage.
create_new_trial_data(n_total, est, se)
A numeric vector with data on the new trial, incl. quantiles of an assumed normal data likelihood.
The total sample size.
Treatment effect estimate.
Standard error of the treatment effect estimate.
create_posterior_data, create_tipmap_data
create_posterior_data
create_tipmap_data
new_trial_data <- create_new_trial_data( n_total = 30, est = 1.27, se = 0.95 )
Run the code above in your browser using DataLab