R/plotting.R
paratraceplot.svdraws.Rd
Displays a plot of iterations vs. sampled values the parameters mu
,
phi
, sigma
(and potentially nu
or rho
), with a separate plot
per variable.
# S3 method for class 'svdraws'
paratraceplot(
x,
mar = c(1.9, 1.9, 1.9, 0.5),
mgp = c(2, 0.6, 0),
simobj = NULL,
...
)
svdraws
object.
numerical vector of length 4, indicating the plot margins. See
par
for details. The default value is c(1.9,
1.9, 1.9, 0.5)
, which is slightly smaller than the R-defaults.
numerical vector of length 3, indicating the axis and label
positions. See par
for details. The default value is
c(2, 0.6, 0)
, which is slightly smaller than the R-defaults.
object of class svsim
as returned by the SV simulation
function svsim
. If provided, “true” data generating values
will be added to the plots.
further arguments are passed on to the invoked matplot
function.
Called for its side effects. Returns argument x
invisibly.
paratraceplot
is modeled after traceplot
in the
coda
package, with very minor modifications.
You can call this function directly, but it is more commonly called by
the plot.svdraws
method.
Other plotting:
paradensplot()
,
paratraceplot()
,
plot.svdraws()
,
plot.svpredict()
,
volplot()