View source: R/network.summary.R
network.gelman.diag | R Documentation |
This function uses coda package to find Gelman-Rubin diagnostics.
network.gelman.diag(result, extra.pars = NULL, only.pars = NULL)
result |
Object created by |
extra.pars |
Extra parameters that the user wants to display 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. |
Returns gelman-rubin diagnostics
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 = c("Eta"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.