plot.network.result: Plot traceplot and posterior density of the result

Description Usage Arguments Examples

Description

This function uses plotting function in coda package to plot mcmc.list object

Usage

1
2
## S3 method for class 'network.result'
plot(x, ...)

Arguments

x

Result object created by network.run function

...

Additional arguments affecting the plot produced

Examples

1
2
3
4
5
6
network <- with(statins, {
 network.data(Outcomes, Study, Treat, N = N, response = "binomial",
 Treat.order = c("Placebo", "Statin"), covariate = covariate, covariate.type = "discrete")
})
result <- network.run(network)
plot(result, only.pars = "sd")

MikeJSeo/network-meta documentation built on May 3, 2019, 4:31 p.m.