Learn R Programming

eye (version 1.0.0)

eyes_to_string: Eye count to strings

Description

Eye count to strings

Usage

eyes_to_string(x, small_num = TRUE, para = FALSE, UK = FALSE)

Arguments

x

vector of one or two

small_num

If TRUE: writing numbers <= 12 as words

para

If TRUE: Adding "A total of" to comply with most journal standards and to avoid awkward long numbers.

UK

Logical, Use UK (English) style (TRUE) or USA (American) style (FALSE).

Value

Character string - can be directly pasted into reports