Learn R Programming

iplots (version 1.1-8)

ihammock: Interactive Hammock Plot

Description

This function creates a new interactive hammock plot. Please note that a hammock plot was not necessarily designed to support highlighting, so it may be of limited use. It was created as a proof of the iBase concept which makes it very easy to implement new interactive plots.

Usage

ihammock(...)

Arguments

...

All unnamed parameters are treated as variables to display. All additional parameters are passed to iplot.opt.

Value

Resulting plot object.

Details

The plot can be used in either in the form ihammock(df) to plot a list or data frame of variables or ihammock(x, y, z) to plot factors x, y and z.

See Also

ihist, ibar, iplot, iplot.opt

Examples

Run this code
# NOT RUN {
library(MASS)
data(Cars93)
attach(Cars93)
ihammock(AirBags, Cylinders, Origin)
# }

Run the code above in your browser using DataLab