Each 'point' with a fixed coordinate and a random coordinate is
plotted as an interval.
If "lines" are plotted (type="l"
or type="b"
),
the result is a random draw of lines connecting the coordinates.
See lines.rv
for details on how to set the sample size of the random draw. Each interval consists of a maximum of three components.
(1) a dot (2) thick interval (3) thin interval.
Typically the dot marks the mean or the median; the
thin and the thick intervals show a shorter and a longer middle uncertainty interval.
The appearance of these intervals can be controlled using the parameters
rvlwd
, rvpoint
, rvcol
, and rvlex
.
rvlwd
sets the line width of the thin interval;
rvlex
sets the factor to multiply rvlwd
to get the line width
of the thicker interval.
points
attempts to color the intervals and the dot using
the color given as rvcol
. The basic name of the color should be
given, e.g. "red"
or "blue"
.
The thin line is colored using
the basic color, the thick line is colored using a darker hue
(numbered '2', e.g. "red2"
)
and the dot is colored using the darkest hue (numbered '3', e.g. "red3"
).
That is, for example. if rvcol='red'
, the color scheme generated for the
dot, the thick line, and the thin line, respectively, are
c('red3', 'red2', 'red')
.
Special color themes:
the default rvcol
color scheme is called "default"
and
yields the color scheme c("grey20", "grey40", "grey60")
.
Other special color themes: "grey"
, "lightgrey"
, "darkgrey"
.
(The spellings 'gray' and 'grey' are interchangeable).
The parameter rvpoint
is a character vector of length 3,
with the first component
indicating what to plot as a dot (possible values: "mean", "median"),
the second component indicating what to plot as a "thick interval"
(possible values: "n the second component indicating what to plot as a "thin interval".
Default: c("mean", "50%", "95%")
.
If you wish only to plot the mean and the 95% interval, use
rvpoint=c("mean", NA, "95%")
or
rvpoint=c("mean", "95%", NA)
.
The color col
is used for plotting fully fixed dots (both x and y coordinates fixed)
and lines (fixed and random lines -- see lines.rv
).
NOTE. This parameterization is yet experimental, and may change.
It is possible to have both x
and y
random,
but this code is not yet fully functional.