network.gelman.plot: Use coda package to plot Gelman-Rubin diagnostic plot

View source: R/network.summary.R

network.gelman.plotR 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)


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