Learn R Programming

neatR (version 0.3.0)

f: Smart format function that infers type and applies neatR formatting.

Description

Smart format function that infers type and applies neatR formatting.

Usage

f(x, format_type = NULL, ...)

Value

Formatted string or vector of strings.

Arguments

x

Input data to format.

format_type

Explicit format type: 'day', 'date', 'ts', 'number', 'percent', 'string'. If NULL, type is inferred.

...

Additional parameters passed to the underlying formatting functions.