Description Usage Arguments Examples
This function uses coda package to find Gelman-Rubin diagnostics.
1 | network.gelman.diag(result, extra.pars = NULL, only.pars = NULL)
|
result |
Object created by |
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. |
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.