replace_ordinals: Replace Ordinal Numeric in a Command

Description Usage Arguments Value Examples

View source: R/replace_ordinals.R

Description

Replace Ordinal Numeric in a Command

Usage

1
replace_ordinals(cmd, max_n = 100)

Arguments

cmd

Command string to replace ordinal values

max_n

Maxium number to go over. For example if max_n = 100 then "one hundred one" will not be replaced

Value

A character string same length as cmd

Examples

1
2
cmd = c("sort the twelfth column", "filter the third row ")
replace_ordinals(cmd)

muschellij2/talkr documentation built on Jan. 20, 2020, 7:49 p.m.