ihist: Create an interactive histogram or spinogram

Description Usage Arguments Value Virtual Attributes See Also Examples

Description

ihist creates an interactive histogram or spinogram

Usage

1
2
3
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

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

att/iplots documentation built on May 10, 2019, 2:12 p.m.

Related to ihist in att/iplots...