network.gelman.diag: Use coda package to find Gelman-Rubin diagnostics

Description Usage Arguments Examples

Description

This function uses coda package to find Gelman-Rubin diagnostics.

Usage

1
network.gelman.diag(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.

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)
network.gelman.diag(result, extra.pars = "Eta")

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