lang.aff {lingtypology}R Documentation

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(s)

George Moroz <agricolamz@gmail.com>

See Also

lang.iso

Examples

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

[Package lingtypology version 1.1.17 Index]