Produce a plot showing several stacked dynamic distributions over the same horizontal axis.
CompareDynamicDistributions(
list.of.curves,
timestamps,
style = c("dynamic", "boxplot"),
xlab = "Time",
ylab = "",
frame.labels = rep("", length(list.of.curves)),
main = "",
actuals = NULL,
col.actuals = "blue",
pch.actuals = 1,
cex.actuals = 1,
vertical.cuts = NULL,
...)
A list of matrices, all having the same number of columns. Each matrix represents a distribution of curves, with rows corresponding to individual curves, and columns to time points.
A vector of time stamps, with length matching the number of columns in each element of list.of.curves.
Should the curves be represented using a dynamic distribution plot, or boxplots. Boxplots are better for small numbers of time points. Dynamic distribution plots are better for large numbers of time points.
Label for the horizontal axis.
Label for the (outer) vertical axis.
Labels for the vertical axis of each subplot. The length must match the number of plot.
Main title for the plot.
If non-NULL
, actuals should be a numeric vector
giving the actual "true" value at each time point.
Color to use for the actuals. See par
.
Plotting character(s) to use for the actuals. See
par
.
Scale factor for actuals. See par
.
If non-NULL
then this must be a vector of
the same type as timestamps
with length matching the number
of plots. A vertical line will be drawn at this location for each
plot. Entries with the value NA
signal that no vertical
line should be drawn for that entry.
Extra arguments passed to
PlotDynamicDistribution
or
TimeSeriesBoxplot
.
Steven L. Scott