Learn R Programming

glottospace (version 0.0.112)

glottofiltermap: Filter languages from a map

Description

Select languages by drawing or clicking on a map

Usage

glottofiltermap(glottodata = NULL, mode = NULL, ...)

Arguments

glottodata

Spatial glottodata object

mode

Either "draw" or "click"

...

Additional arguments to pass to glottofilter

Value

A set of languages selected from the original glottodata object

Examples

Run this code
# NOT RUN {
selected <- glottofiltermap()
glottomap(selected)

glottofiltermap(continent = "South America")
glottofiltermap(country = "Netherlands")
# }

Run the code above in your browser using DataLab