plot.network.result {bnma}R Documentation

Plot traceplot and posterior density of the result

Description

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

Usage

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

Arguments

x

Result object created by network.run function

...

Additional arguments affecting the plot produced

Value

None

Examples

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")


[Package bnma version 1.4.0 Index]