R: Regions: googleVis example data set

Regions {googleVis} | R Documentation

## Regions: googleVis example data set

### Description

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

### Usage

    data(Regions)

### Format

A data frame with 11 observations on the following 4 variables.

`Region`

  a factor with levels `America`, `Asia` ...

`Parent`

  parent region identifier

`Val`

  a numeric vector

`Fac`

  a numeric vector

### Examples

    data(Regions)
    Tree <- gvisTreeMap(Regions,  "Region", "Parent", "Val", "Fac",
                        options=list(width=600, height=500,
                                     showScale=TRUE, fontSize=16))
    ## Not run:
    plot(Tree)

    ## End(Not run)

[Package googleVis version 0.6.2 Index]