Learn R Programming

lingtypology (version 1.1.1)

lang.aff: Get languages by affiliation

Description

Takes any vector of affiliations and return languages.

Usage

lang.aff(x, list = FALSE)

Arguments

x

A character vector of the affiliations (can be written in lower case)

list

logical. If TRUE, returns a list of languages, if FALSE return a named vector.

See Also

lang.iso

Examples

Run this code
# NOT RUN {
lang.aff('Slavic')
lang.aff(c('Slavic', 'Celtic'))
lang.aff(c('Slavic', 'Celtic'), list = TRUE)
# }

Run the code above in your browser using DataLab