Learn R Programming

pluralize (version 0.2.0)

is_plural: Test plural state of a word

Description

Test plural state of a word

Usage

is_plural(x)

is_singular(x)

Arguments

x

vector of words to test

Value

logical vector

Examples

Run this code
# NOT RUN {
is_singular(c("boats", "house", "cats", "river"))
is_plural(c("boats", "house", "cats", "river"))
# }

Run the code above in your browser using DataLab