Learn R Programming

metasnf (version 2.1.2)

pl: Helper function to pluralize a string

Description

Helper function to pluralize a string

Usage

pl(x)

Value

A string "s" if the length of x is greater than 1, otherwise an empty string.

Arguments

x

A vector of length 1 or greater.