add_s: Make Plural (or Verb to Singular) Versions of Words

Description Usage Arguments Value Examples

View source: R/add_s.R

Description

Add -s, -es, or -ies to words.

Usage

1
add_s(x, keep.original = TRUE)

Arguments

x

A vector of words to make plural.

keep.original

logical. If TRUE the original words are kept in the return vector.

Value

Returns a vector of plural words.

Examples

1
2
3
4
set.seed(10)
add_s(sample(GradyAugmented, 10))
set.seed(10)
add_s(sample(GradyAugmented, 10), FALSE)

trinker/qdap documentation built on Sept. 30, 2020, 6:28 p.m.