glBar {Glimma} | R Documentation

## 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.

### Author(s)

Shian Su

### See Also

`glBar.default`

### Examples

    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)

[Package Glimma version 1.12.0 Index]