powered by
Assembling information from trials in the source population in a structured way (required as a pre-processing step for MAP prior creation).
create_prior_data(study_label = NULL, n_total, est, se)
A data frame containing data on the trials in the source population.
An optional vector containing trial labels.
A vector containing total sample sizes.
A vector containing treatment effect estimates.
A vector containing standard errors of the effect estimates.
create_new_trial_data, create_posterior_data
create_new_trial_data
create_posterior_data
prior_data <- create_prior_data( n_total = c(160, 240, 320), est = c(1.23, 1.40, 1.51), se = c(0.4, 0.36, 0.31) )
Run the code above in your browser using DataLab