The generic function ghist
computes a histogram of the given
data values. If plot = TRUE
, the resulting object of
class
"histogram
" is plotted by gplot.histogram
before it is returned.
1 2 3 4 5 6 7 8 9 10  ghist(x, ...)
## Default S3 method:
ghist(x, breaks = "Sturges", freq = NULL,
probability = !freq, include.lowest = TRUE, right = TRUE,
density = NULL, angle = 45, col = "white", border = NULL,
main = paste("Histogram of", xname), xlim = range(breaks), ylim = NULL,
xlab = xname, ylab, axes = TRUE, plot = TRUE, labels = FALSE,
nclass = NULL, warn.unused = TRUE, grid = TRUE, col.grid = "grey90",
col.acc = "white", ...)

x 
a vector of values for which the histogram is desired. 
... 
further arguments and graphical parameters passed to

breaks 
one of:
In the last three cases the number is a suggestion only; as the
breakpoints will be set to 
freq 
logical; if 
probability 
an alias for 
include.lowest 
logical; if 
right 
logical; if 
density 
the density of shading lines, in lines per inch.
The default value of 
angle 
the slope of shading lines, given as an angle in degrees (counterclockwise). 
col 
a colour to be used to fill the bars.
The default of 
border 
the color of the border around the bars. The default is to use the standard foreground color. 
main 
these arguments to 
xlim 
the range of x and y values with sensible defaults.
Note that 
ylim 
the range of x and y values with sensible defaults.
Note that 
xlab 
these arguments to 
ylab 
these arguments to 
axes 
logical. If 
plot 
logical. If 
labels 
logical or character string. Additionally draw labels on top
of bars, if not 
nclass 
numeric (integer). For S(PLUS) compatibility only,

warn.unused 
logical. If 
grid 
logical; if 
col.grid 

col.acc 

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.