Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


Glimma (version 1.0.0)

glBar: Glimma MD Plot

Description

Create an interactive bar plot object.

Usage

glBar(x, ...)

Arguments

x
the data.frame containing data to plot.
...
additional arguments depending on input object type.

Value

A chart object containing the information to create an interactive bar plot.

See Also

glBar.default

Examples

Run this code
data(mtcars)
counts <- table(mtcars$gear)
data <- data.frame(nGears=as.numeric(names(counts)), Count=as.numeric(counts))

plot1 <- glBar(data, "Count", "nGears", ylab="Number of Gears")
glimma(plot1, layout=c(1,1), launch=TRUE)

Run the code above in your browser using DataLab