ihist {Acinonyx}R Documentation

Create an interactive histogram or spinogram

Description

ihist creates an interactive histogram or spinogram

Usage

ihist(x, ...)
## Default S3 method:
ihist(x, xname = deparse(substitute(x)), ..., window, frame, flags)

Arguments

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 FALSE for off-screen plots. If not specified the plot will create a new window and fill it with itself.

frame

optional numeric vector with entries c(x, y, width, height)

flags

optional flags specifying the behavior when the enclosing window is resized - see icontainer

Value

Object of the class iHistogram. Virtual attributes common to all plots are supported as well as additional ones mentioned below.

Virtual Attributes

In addition ot the virutal attributes common to all plots histogram also support the following:

bin.width

bin width (scalar numeric

bins

number of bins

anchor

archor value fo the first bin

spines

TRUE for spinogram, FALSE for histogram (c.f. ibar)

See Also

iplot, ibar, icontainer

Examples

h = ihist(rnorm(1e5))
h$bin.width
h$bins
h$bin.width = 0.2

[Package Acinonyx version 3.0-0 Index]