Adds an initial indefinite article "a" or "an" to a numerical
object expressed either as digits or as words in the result.
The capitalized form, Initial, capitalizes the initial
letter: "An" or "A".
Usage
indefinite(n, ...)
# S3 method for numeric
indefinite(n, words = TRUE, ...)
# S3 method for english
indefinite(n, words = TRUE, ...)
# S3 method for ordinal
indefinite(n, ...)
# S3 method for character
indefinite(n, ...)
Indefinite(n, ...)
Arguments
n
either a numeric vector or a ordinal character string.
...
Extra arguments, currently ignored
words
logical: should the numbers be expressed as words (TRUE) or digits (FALSE)?
Value
A character string vector with an article prepended, either capitalized or not.