Learn R Programming

googleVis (version 0.7.3)

Andrew: Hurricane Andrew: googleVis example data set

Description

Hurricane Andrew storm path from 16 August to 28 August 1992

Usage

data(Andrew)

Arguments

Format

A data frame with 47 observations on the following 8 variables.

Date/Time UTC

a POSIXct

Lat

a numeric vector

Long

a numeric vector

Pressure_mb

a numeric vector

Speed_kt

a numeric vector

Category

a factor with levels Hurricane Tropical Depression Tropical Storm

LatLong

a character vector

Tip

a character vector

Examples

Run this code
data(Andrew)

AndrewGeoMap <- gvisGeoMap(Andrew, locationvar='LatLong', numvar='Speed_kt',
                          hovervar='Category',
                          options=list(width=800,height=400,
                          region='US', dataMode='Markers'))

AndrewMap <- gvisMap(Andrew, 'LatLong' , 'Tip',
                           options=list(showTip=TRUE, showLine=TRUE,
                           enableScrollWheel=TRUE,
                           mapType='hybrid', useMapTypeControl=TRUE,
			   width=800,height=400))

AndrewTable <- gvisTable(Andrew,options=list(width=800))

## Combine the outputs into one page:

AndrewVis <- gvisMerge(AndrewGeoMap, AndrewMap)

plot(AndrewVis)

Run the code above in your browser using DataLab