ArticlePrecedingNumber: ArticlePrecedingNumber Function

Description Usage Arguments Value Author(s) Examples

Description

This function returns the appropriate english definite or indefinite article to precede a number. The possible return values are 'a', 'an', and 'the'

Usage

1

Arguments

n

the number

definite

whether the definite (or indefinite) article is required. Defaults to FALSE.

Value

a character object from c('a', 'an', 'the') appropriate to precede the number

Author(s)

Robert Corty

Examples

1
2
3
4
5

rcorty/CortyKit documentation built on May 27, 2019, 3:03 a.m.