Regions: Regions: googleVis example data set

Description Usage Format Examples

Description

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

Usage

1

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

1
2
3
4
5
6
7
8
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)

Example output

Creating a generic function for 'toJSON' from package 'jsonlite' in package 'googleVis'

Welcome to googleVis version 0.6.3

Please read Google's Terms of Use
before you start using the package:
https://developers.google.com/terms/

Note, the plot method of googleVis will by default use
the standard browser to display its output.

See the googleVis package vignettes for more details,
or visit https://github.com/mages/googleVis.

To suppress this message use:
suppressPackageStartupMessages(library(googleVis))

starting httpd help server ... done

googleVis documentation built on Feb. 20, 2021, 1:06 a.m.