cor_jags {jagshelper} | R Documentation |
Correlation matrix from a JAGS object
Description
Computes a correlation matrix of all MCMC samples from an object returned by 'jagsUI', or an optional subset of parameter nodes.
Usage
cor_jags(x, p = NULL, exact = FALSE)
Arguments
x |
Output object returned from |
p |
Optional string to begin posterior names. If |
exact |
Whether name must be an exact match ( |
Value
A 2-dimensional correlation matrix (n X n, where n is the number of parameter nodes)
Author(s)
Matt Tyers
See Also
Examples
cor_jags(asdf_jags_out)
[Package jagshelper version 0.3.1 Index]