R: Fruits: googleVis example data set

Fruits {googleVis} | R Documentation

## Fruits: googleVis example data set

### Description

Example data set to illustrate the use of the googleVis package.

### Usage

    data(Fruits)

### Format

A data frame with 9 observations on the following 7 variables.

`Fruit`

  a factor with levels `Apples` `Bananas` `Oranges`

`Year`

  a numeric vector

`Location`

  a factor with levels `East` `West`

`Sales`

  a numeric vector

`Expenses`

  a numeric vector

`Profit`

  a numeric vector

`Date`

  a Date

### Examples

    data(Fruits)
    M <- gvisMotionChart(Fruits, idvar="Fruit", timevar="Year")

    ## Not run:
     plot(M)

    ## End(Not run)

[Package googleVis version 0.6.2 Index]