Learn R Programming

humanize (version 0.2.0)

count_as_ordinal: Transform a count to an ordinal string

Description

Transform a count to an ordinal string

Usage

count_as_ordinal(value)

Arguments

value

A single positive integer

Value

A string with the ordinal representation of a number

Examples

Run this code
# NOT RUN {
count_as_ordinal(1)
count_as_ordinal(111)
# }

Run the code above in your browser using DataLab