plot-HTS | R Documentation |
An overloading plot function for a HTS
object. The method returns a graphical representation
of a histogram time series.
## S4 method for signature 'HTS'
plot(x, y = "missing", type = "VIOLIN", border = "black", maxno.perplot = 30)
x |
a |
y |
not used in this implementation |
type |
(optional) a string describing the type of plot, default="BOXPLOT". |
border |
(optional) a string the color of the border of the plot, default="black". |
maxno.perplot |
An integer (DEFAULT=30). Maximum number of timestamps per row. It allows a plot organized by rows, each row of the plot contains a max number of time stamps indicated by maxno.perplot. |
plot(subsetHTS(RetHTS, from = 1, to = 10)) # plots RetHTS dataset
## Not run:
plot(RetHTS, type = "BOXPLOT", border = "blue", maxno.perplot = 20)
plot(RetHTS, type = "VIOLIN", border = "blue", maxno.perplot = 20)
plot(RetHTS, type = "VIOLIN", border = "blue", maxno.perplot = 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.