Description Usage Arguments Value Examples
To calculate SUCRA from bayesian model.
1 | SUCRA(bmt, digits = 3)
|
bmt |
result from model_gemtc |
digits |
digits of the result |
SUCRA result
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | LDT1 <- read.csv(system.file("extdata", "HR_SH_D.csv", package = "net.meta"))
trt1 <- read.table(system.file("extdata", "HR_SH_D.txt", package = "net.meta"),
header=TRUE,quote = '"', stringsAsFactors=FALSE)
trt1$description <- factor(trt1$description, trt1$description)
LDT1$study <- factor(LDT1$study, unique(LDT1$study))
bmt1 <- model_gemtc(
long.data=LDT1,
id.treatments=trt1,
reference="A",
outcome="HR",
mtc.n.adapt = 5000, mtc.n.iter = 10000, mtc.thin = 20)
# View(bmt1)
SUCRA(bmt1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.