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

View source: R/add_s.R

add_sR Documentation

Make Plural (or Verb to Singular) Versions of Words

Description

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

Usage

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

set.seed(10)
add_s(sample(GradyAugmented, 10))
set.seed(10)
add_s(sample(GradyAugmented, 10), FALSE)

qdap documentation built on May 31, 2023, 5:20 p.m.

Related to add_s in qdap...