Learn R Programming

googleVis (version 0.7.3)

Fruits: Fruits: googleVis example data set

Description

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

Usage

data(Fruits)

Arguments

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

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

if (FALSE) {
 plot(M)
}

Run the code above in your browser using DataLab