num_to_text: Convert numbers to text

View source: R/tidy_report.R

num_to_textR Documentation

Convert numbers to text

Description

Convert numbers to text when needed in rmarkdown reports

Usage

num_to_text(x, start_of_sentence = FALSE)

Arguments

x

a single integer to have converted into text if needs be

start_of_sentence

TRUE or FALSE to indicate if the number is at the start of a sentence. Default = FALSE

Value

Number written in text or number format


thomasbattram/usefunc documentation built on April 24, 2023, 1:46 p.m.