Description Usage Arguments Examples
This function plots autocorrelation using coda package.
1 | network.autocorr.plot(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 7 8 | #cardiovascular
Study <- cardiovascular[["Study"]]
Treat <- cardiovascular[["Treat"]]
Outcomes <- cardiovascular[["Outcomes"]]
N <- cardiovascular[["N"]]
network <- network.data(Outcomes, Study, Treat, N, response = "multinomial")
result <- network.run(network)
network.autocorr.plot(result, only.pars = "d")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.