Learn R Programming

googleVis (version 0.5.3)

gvisMap: Google Maps with R googleChartName <- "map" gvisChartName <- "gvisMap"

Usage

gvisMap(data, locationvar = "", tipvar = "", options = list(), chartid)

Arguments

data
a data.frame. The data has to have at least two columns with location name (locationvar) and the variable to display the text in the tip icon (tipvar).
locationvar
column name of data with the geo locations to be analysed. The locations can be provide in two formats: [object Object],[object Object]
tipvar
column name of data with the string text displayed over the tip icon.
options
list of configuration options for Google Map. [results=rd]{gsub("CHARTNAME", googleChartName, readLines(file.path(".", "inst", "mansections", "GoogleChartToolsURLConfigOptions.txt")))}

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