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

View source: R/f.R

fR Documentation

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, ...)

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.

Value

Formatted string or vector of strings.


neatR documentation built on Jan. 31, 2026, 5:07 p.m.