Trace {Umacs}R Documentation

Generate a Trace object for Umacs Sampler function

Description

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.

Usage

Trace(name, label = name, ylim = NULL)

Arguments

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.

Details

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.

Value

An object of class Trace, to be further processed by the Umacs function Sampler.

Author(s)

Jouni Kerman <jouni@kerman.com>

References

Kerman, Jouni. Umacs: A Universal Markov Chain Sampler. Technical report, Columbia University, New York.

See Also

Umacs-package for an overview of the Umacs package.

Sampler for how to create a sampler function; see the vignette for details.

Package `rv'.


[Package Umacs version 0.924 Index]