ihist | R Documentation |
ihist
creates an interactive histogram or spinogram
ihist(x, ...) ## Default S3 method: ihist(x, xname = deparse(substitute(x)), ..., window, frame, flags)
x |
a vector to create a histogram from |
xname |
name of the x variable |
... |
further optional arguments |
window |
window in which the plot will be placed or |
frame |
optional numeric vector with entries c(x, y, width, height) |
flags |
optional flags specifying the behavior when the
enclosing window is resized - see |
Object of the class iHistogram
. Virtual attributes common to all
plots are supported as well as additional ones mentioned below.
In addition ot the virutal attributes common to all plots histogram also support the following:
bin width (scalar numeric
number of bins
archor value fo the first bin
TRUE
for spinogram, FALSE
for histogram
(c.f. ibar
)
iplot
, ibar
, icontainer
h = ihist(rnorm(1e5)) h$bin.width h$bins h$bin.width = 0.2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.