Trace {Umacs} | R Documentation |
Generates an object including the information necessary to show a trace plot of a scalar parameter in a Umacs sampling function.
The sampler is built using the Umacs function Sampler
;
this function is only to be used within the Sampler
function call.
Trace(name, label = name, ylim = NULL)
name |
Name of the scalar parameter to be traced, e.g. "code{theta[1]}". |
label |
Label to be shown in the trace plot window. By default the same as code{name}. |
ylim |
Range of the vertical axis. By default, the range is extended as necessary to display the highs and the lows of the trace. |
If ylim
is not specified (if it is NULL
), the range of the vertical
axis is adjusted automatically.
Trace
is to be used only within the Sampler
function call.
An object of class Trace
,
to be further processed by the Umacs function Sampler
.
Jouni Kerman <jouni@kerman.com>
Kerman, Jouni. Umacs: A Universal Markov Chain Sampler. Technical report, Columbia University, New York.
Umacs-package
for an overview of the Umacs package.
Sampler
for how to create a sampler function; see the vignette for details.
Package `rv'.