Learn R Programming

parameters (version 0.22.0)

format_order: Order (first, second, ...) formatting

Description

Format order.

Usage

format_order(order, textual = TRUE, ...)

Value

A formatted string.

Arguments

order

value or vector of orders.

textual

Return number as words. If FALSE, will run insight::format_value().

...

Arguments to be passed to insight::format_value() if textual is FALSE.

Examples

Run this code
format_order(2)
format_order(8)
format_order(25, textual = FALSE)

Run the code above in your browser using DataLab