getPlural: Get plural by adding 's' except special plural.

Description Usage Arguments Value Examples

Description

Get plural by adding 's' except special plural.

Usage

1

Arguments

singular

The singular of a word in string.

Value

The plural of given singular. But it needs to add special plural manully in the code.

Examples

1
2
3
4
getPlural("species")
[1] "species"
getPlural("phylumn")
[1] "phyla"

walterxie/ComMA documentation built on May 3, 2019, 11:51 p.m.