Nothing
nmares <- function(model, random) {
ref <- as.character(model$reference.group) # Reference category
summ_NMA <- summary(model) # Summary of NMA model
# Set NMA type
ifelse(random, type <- "random", type <- "fixed")
# data.frame with the NMA results
results <- data.frame(
"Node" = as.character(rownames(summ_NMA[[type]][["TE"]])),
"TE" = summ_NMA[[type]][["TE"]][, ref],
"seTE" = summ_NMA[[type]][["seTE"]][, ref],
"lb" = summ_NMA[[type]][["lower"]][, ref],
"ub" = summ_NMA[[type]][["upper"]][, ref],
"z_stat" = summ_NMA[[type]][["statistic"]][, ref]
)
# Order based on the absolute treatment effect
results <- results[order(abs(results$TE), decreasing = TRUE), ]
results
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.