network.gelman.plot {bnma}R Documentation

Use coda package to plot Gelman-Rubin diagnostic plot

Description

This function plots Gelman-Rubin diagnostic using coda package.

Usage

network.gelman.plot(result, extra.pars = NULL, only.pars = NULL)

Arguments

result

Object created by network.run function

extra.pars

Extra parameters that the user wants to plot other than the default parameters.

only.pars

Parameters that user wants to display. This gets rids of other default parameters user doesn't want to show.

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)
network.gelman.plot(result)


[Package bnma version 1.4.0 Index]