Learn R Programming

bggAnalytics (version 0.2.1)

.plural: Add '-s' to the end of a string based on a count

Description

Does exactly what the title says.

Usage

.plural(string, count)

Value

A single string.

Arguments

string

a single string.

count

a single number that determines the addition of "-s".