| plot-HTS | R Documentation |
Plots a HTS object as a sequence of violin plots or boxplots, one for
each timestamp.
## S4 method for signature 'HTS'
plot(x, y = "missing", type = "VIOLIN", border = "black", maxno.perplot = 30)
x |
A |
y |
Not used. |
type |
The type of plot: |
border |
The colour of the borders (default |
maxno.perplot |
The maximum number of timestamps in each row of the plot (default 30): longer series are split into several rows. |
The plot is drawn on the current device and the ggplot object is
returned invisibly, so that it can be further modified.
plot(subsetHTS(RetHTS, from = 1, to = 10))
plot(RetHTS, type = "BOXPLOT", border = "blue", maxno.perplot = 20)
plot(RetHTS, type = "VIOLIN", maxno.perplot = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.