Learn R Programming

lingtypology (version 1.1.19)

lang.aff: Get languages by affiliation

Description

Takes any vector of affiliations and returns languages.

Usage

lang.aff(x, include.dialects = FALSE, list = FALSE)

Arguments

x

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

include.dialects

logical. If TRUE, it returns all langauges and dialects, if FALSE it returns only languages.

list

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

Author

George Moroz <agricolamz@gmail.com>

See Also

lang.iso

Examples

Run this code
lang.aff('Slavic')
lang.aff(c('Slavic', 'Celtic'))
lang.aff(c('Slavic', 'Celtic'), list = TRUE)

Run the code above in your browser using DataLab