glBar {Glimma} | R Documentation |
Create an interactive bar plot object.
glBar(x, ...)
x |
the data.frame containing data to plot. |
... |
additional arguments depending on input object type. |
A chart object containing the information to create an interactive bar plot.
Shian Su
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)