Skip to contents

Test Plural State of an English Word

Usage

is_plural(x)

is_singular(x)

Arguments

x

vector of words to test

Value

logical vector

Examples

is_singular(c("boats", "house", "cats", "river"))
#> [1] FALSE  TRUE FALSE  TRUE
is_plural(c("boats", "house", "cats", "river"))
#> [1]  TRUE FALSE  TRUE FALSE