Learn R Programming

HistDAWass (version 1.0.4)

plot-HTS: Method plot for a histogram time series

Description

An overloading plot function for a HTS object. The method returns a graphical representation of a histogram time series.

Usage

# S4 method for HTS
plot(x, y = "missing", type = "VIOLIN", border = "black", maxno.perplot = 30)

Arguments

x

a distributionH object

y

not used in this implementation

type

(optional) a string describing the type of plot, default="BOXPLOT". Other allowed types are "VIOLIN"=a violin-plot representation,

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.

Examples

Run this code
# NOT RUN {
 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)
 
# }

Run the code above in your browser using DataLab