roundf: Prepare values for table

Description Usage Arguments Value See Also

Description

Prepares values for publication in wide tables by dividing by 1000 and rounding and truncating using sprintf(). Vectorised to work on single values, vectors, and data.frames.

Usage

1
roundf(x, fmt = "%.1f")

Arguments

x

Value to be transformed.

fmt

Inherits from sprintf(): the format to be returned.

Value

Tranfsormed variable x.

See Also

sprintf.


DCMSstats/eesectors documentation built on May 3, 2019, 2:43 p.m.