Map a set of languages and color them by feature.
ggmap.feature(
languages,
features = "",
latitude = NA,
longitude = NA,
color = NULL,
title = NULL,
legend = TRUE,
width = 2,
opacity = 1,
map.orientation = "Atlantic"
)
character vector of languages (can be written in lower case).
character vector of features.
numeric vector of latitudes.
numeric vector of longitudes.
vector of colors or palette. The color argument can be (1) a character vector of RGM or named colors; (2) the name of an RColorBrewer palette; (3) the full name of a viridis palette; (4) a function that receives a single value between 0 and 1 and returns a color. For more examples see colorNumeric
.
title of a legend.
logical. If TRUE, function show legend. By default is TRUE.
a numeric vector of radius for circles or width for barcharts in minicharts.
a numeric vector of marker opacity.
a character verctor with values "Pacific" and "Atlantic". It distinguishes Pacific-centered and Atlantic-centered maps. By default is "Atlantic".
George Moroz <agricolamz@gmail.com>
ggmap.feature(c("Adyghe", "Russian"))
Run the code above in your browser using DataLab