plot.clusteraverages | R Documentation |
plots average time series of clusters as calculated by
clusterAverages
, including the variations around the mean
as polygons
## S3 method for class 'clusteraverages'
plot(
x,
cls.srt,
cls.col,
each = FALSE,
ranges = TRUE,
border = 0,
xlab,
time,
ylab = "average",
ylim = ifelse(each, "avg", "rng"),
ylim.scale = 0.1,
...
)
x |
cluster time series average object as calculated by
|
cls.srt |
optional sorting of clusters; clusters will be plotted
in this order, i.e. the last in |
cls.col |
optional coloring of clusters |
each |
logical value indicating whether to plot all cluster
averages on one panel ( |
ranges |
logical indicating whether to plot the ranges ‘high’ and
‘low’ in the cluster average object |
border |
line width of border line at data ranges |
xlab |
x-axis label |
time |
optional time-points of the x-axis |
ylab |
y-axis label |
ylim |
either conventional range of the y-axis, or a string
specifying whether ylim should be calculated from the average
( |
ylim.scale |
if |
... |
arguments to plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.