Skip to contents

Pluralize a word

Usage

pluralize(word, n = rep(2, length(word)))

Arguments

word

vector of characters to be pluralized

n

vector of number of times each word appears (to determine if the plural or single form will be returned)

Value

word, either pluralized or not (depending on n)