Visualizing discrete-time simulation of Ornstein-Uhlenbeck models.

Share:

Description

plot.ouSim is a plot method for an ouSim object.

Usage

1
2
  ## S3 method for class 'ouSim'
plot(x, nodeColor = "blue", nodeDotSize = 1.4, colors = NULL, ...)

Arguments

x

An ouSim object.

nodeColor

A single color for the dot indicating nodes, or a vector of colors corrsponding to node numbers.

nodeDotSize

Size of the dot at the nodes.

colors

A vector correponding to branches. If not provided, color is extracted from the regime in a hansentree object. This vector can be the same format as a regime, so you can color branches with a call to paintBranches.

...

Additional arguments passed along to lines (e.g., lwd for line width, lty for line type).

Value

None. Called for its side-effect (plotting).

Author(s)

Andrew Hipp ahipp@mortonarb.org

See Also

ouSim for simulations; carex for examples