glottofilterflex {glottospace} | R Documentation |
Flexible version of glottofilter
Description
This is a more flexible alternative to glottofilter, allowing for negative selections.
Usage
glottofilterflex(glottodata, colname, select)
Arguments
glottodata |
glottodata table |
colname |
Character with a single column name |
select |
Things to be selected in that column |
Examples
glottodata <- glottoget("glottobase")
glottofilterflex(glottodata = glottodata, colname = "family",
select = "Indo-European")
glottofilterflex(glottodata = glottodata, colname = "family",
select = -"Indo-European")
glottofilterflex(glottodata = glottodata, colname = "country",
select = c("Germany", "Netherlands") )
glottofilterflex(glottodata = glottodata, colname = "country",
select = -c("Germany", "Netherlands") )
glottofilterflex(glottodata = glottodata, colname = "continent",
select = -c("South America", "Europe", "Asia", "Oceania", "Africa") )
[Package glottospace version 0.0.112 Index]