Learn R Programming

googleVis (version 0.5.1)

gvisIntensityMap: Google Intensity Map with R googleChartName <- "intensitymap" gvisChartName <- "gvisIntensityMap"

Usage

gvisIntensityMap(data, locationvar = "", numvar = "", options = list(),
  chartid)

Arguments

data
a data.frame. The data has to have at least two columns with location name (locationvar) and any number of numeric columns (numvar) to be mapped.
locationvar
column name of data with the geo locations to be analysed. The location has to contain country ISO codes or USA state codes.
numvar
column names of data with the numeric values to be displayed.
options
list of configuration options, see: [results=rd]{gsub("CHARTNAME", googleChartName, readLines(file.path(".", "inst", "mansections", "GoogleChartToolsURLConfigOptions.txt")))}

[results=rd]{paste(readLines(file.path(".", "inst", "mansectio