if (FALSE) {
data("nma.fluoride.donegan2018")
# Get study contributions to random-effects network meta-regression
# results under the assumption of independent treatment-by-covariate
# interaction
res <- study_perc_contrib(study_name = nma.fluoride.donegan2018$study,
base_t = nma.fluoride.donegan2018$t1,
exp_t = nma.fluoride.donegan2018$t2,
ref_t = 1,
obs_se = nma.fluoride.donegan2018$SE,
obs_cov = nma.fluoride.donegan2018$Cov,
covar = nma.fluoride.donegan2018$year,
covar_assum = "independent",
model = "RE",
tau = sqrt(0.03))
# Covariate-contribution plot on the basic parameters only
covar_contribution_plot(contr_res = res,
comparisons = "basic",
drug_names = c("NT", "PL", "DE", "RI", "GE", "VA"),
upper_limit = 15,
name_x_axis = "Randomisation year",
seq_by = 10)
}
Run the code above in your browser using DataLab