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

View source: R/network.summary.R

plot.network.resultR 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")


bnma documentation built on Aug. 15, 2023, 5:08 p.m.