- R
an xts, vector, matrix, data frame, timeSeries or zoo object of
asset returns
- breaks
one of:
a vector giving the breakpoints between histogram cells,
a single number giving the number of cells for the histogram,
a character string naming an algorithm to compute the number of cells (see ‘Details’),
a function to compute the number of cells.
For the last three the number is a suggestion only.
see hist
for details, default "FD"
- main
set the chart title, same as in plot
- xlab
set the x-axis label, same as in plot
- ylab
set the y-axis label, same as in plot
- methods
what to graph, one or more of:
add.density to display the density plot
add.normal to display a fitted normal distibution line over the mean
add.centered to display a fitted normal line over zero
add.rug to display a rug of the observations
add.risk to display common risk metrics
add.qqplot to display a small qqplot in the upper corner of the histogram plot
- show.outliers
logical; if TRUE (the default), the histogram will show
all of the data points. If FALSE, it will show only the first through the
fourth quartile and will exclude outliers.
- colorset
color palette to use, set by default to rational choices
- border.col
color to use for the border
- lwd
set the line width, same as in plot
- xlim
set the x-axis limit, same as in plot
- ylim
set the y-axis limits, same as in plot
- element.color
provides the color for drawing chart elements, such as
the box lines, axis lines, etc. Default is "darkgray"
- note.lines
draws a vertical line through the value given.
- note.labels
adds a text label to vertical lines specified for
note.lines.
- note.cex
The magnification to be used for note line labels relative
to the current setting of 'cex'.
- note.color
specifies the color(s) of the vertical lines drawn.
- probability
logical; if TRUE, the histogram graphic is a
representation of frequencies, the counts component of the result; if FALSE,
probability densities, component density, are plotted (so that the histogram
has a total area of one). Defaults to TRUE if and only if breaks are
equidistant (and probability is not specified). see
hist
- p
confidence level for calculation, default p=.99
- cex.axis
The magnification to be used for axis annotation relative to
the current setting of 'cex', same as in plot
.
- cex.legend
The magnification to be used for sizing the legend
relative to the current setting of 'cex'.
- cex.lab
The magnification to be used for x- and y-axis labels
relative to the current setting of 'cex'.
- cex.main
The magnification to be used for the main title relative to
the current setting of 'cex'.
- xaxis
if true, draws the x axis
- yaxis
if true, draws the y axis
- ...
any other passthru parameters to plot