R/punctuate.R
ps_plural.Rd
Plural
ps_plural(x, n = 1L, end = "")
A string to pluralize.
A count of the number of occurrences of x.
A string of the last part of the pluralization (useful for adding punctuation).
A string
ps_plural("column", 1) #> [1] "column" ps_plural("column", 2) #> [1] "columns" ps_plural("column", 3, end = ".") #> [1] "columns."