Enumerate Elements
enumeration.RdThis function does the same thing as kwb.utils::enumeration(), but it is bundled with ambre to avoid a hard dependency on the unmaintained package.
Arguments
- x
vector of elements to be enumerated
- type
type of element to appear in the message. Default: "element"
- sorted
logical. Whether or not to print the available elements in lexical order. Default:
FALSE- suffix
suffix to be appended to
type. Can be used to distinguish between singular and plural form. Default:""
References
Sonnenberg H (2024). kwb.utils: General Utility Functions Developed at KWB. R package version 0.15.0 URL: https://github.com/kwb-r/kwb.utils (MIT Licence)