data("nma.dogliotti2014")
# Read results from 'run_model' (using the default arguments)
res <- readRDS(system.file('extdata/res_dogliotti.rds', package = 'rnmamod'))
# Read results from 'run_series_meta' (using the default arguments)
meta <- readRDS(system.file('extdata/meta_dogliotti.rds',
package = 'rnmamod'))
# The names of the interventions in the order they appear in the dataset
interv_names <- c("placebo", "aspirin", "aspirin plus clopidogrel",
"dabigatran 110 mg", "dabigatran 150 mg", "rivaroxaban",
"vitamin K antagonist", "apixaban")
# Plot the results from both models
series_meta_plot(full = res,
meta = meta,
drug_names = interv_names)
Run the code above in your browser using DataLab