pairstrace_jags {jagshelper} | R Documentation |
Pairs trace plot
Description
Two-dimensional trace plots (or alternately, scatter plots or contour plots) of each possible pair of parameters from a possible subset. May be useful in assessing correlation between parameter nodes, or problematic posterior surfaces.
Usage
pairstrace_jags(
x,
p = NULL,
points = FALSE,
contour = FALSE,
lwd = 1,
alpha = 0.2,
parmfrow = NULL,
...
)
Arguments
x |
Output object returned from |
p |
Optional vector of parameters to subset |
points |
Whether to plot as scatter plots instead. Defaults to |
contour |
Whether to plot as contour plots instead. Defaults to |
lwd |
Line width for trace plots. Defaults to 1. |
alpha |
Opacity of lines (or points, when |
parmfrow |
Optional call to |
... |
additional plotting arguments or arguments to |
Value
NULL
Author(s)
Matt Tyers
See Also
Examples
pairstrace_jags(SS_out, p="sig", parmfrow=c(2,3), lwd=2)
pairstrace_jags(SS_out, p="sig", parmfrow=c(2,3), points=TRUE)
pairstrace_jags(SS_out, p="sig", parmfrow=c(2,3), contour=TRUE)
pairstrace_jags(asdf_jags_out, parmfrow=c(3,3))
pairstrace_jags(asdf_jags_out, parmfrow=c(3,3), points=TRUE)
pairstrace_jags(asdf_jags_out, parmfrow=c(3,3), contour=TRUE)