pluralize-function: Pluralize a word

Description Usage Arguments Value Examples

Description

If the built-in rules are not sufficient, use add_plural_rule() to customize the behavior.

Usage

1
pluralize(x, n = 2, prepend = FALSE)

Arguments

x

character vector of words to make plural

n

amount of plural (some plurals change by amount and this also impacts the prepend functionality)

prepend

should we prepend the value of n to the output? Default: FALSE

Value

character vector of modified pluralized words

Examples

1
2
3
4
pluralize('test')
pluralize('test', 5)
pluralize('test', 5, TRUE)
pluralize('regex')

pluralize documentation built on July 8, 2020, 7:35 p.m.