quantity_label: Labels for common cases

Description Usage Arguments Value Author(s) See Also

Description

Labels for common cases

Logical labels

Usage

1
2
3
4
5
6
7
quantity_label(x, prefix = TRUE, unit = "", ...)

currency_label(x, prefix = TRUE, currency = "EUR", ...)

percentage_label(x, unit = "%", ...)

logical_label(x, levels = c(FALSE, NA, TRUE))

Arguments

x

Numeric values.

prefix

Whether to use unit prefix, e.g. "k" for "kilo".

unit

Unit of the quantity, e.g. "m" for "meter".

...

Sent to the low level function numeric_label.

currency

Currency abbreviation. So far only EUR, GBP, USD, and SEK are supported.

levels

Which level to keep. Note that the order determines the factor level order.

Value

Factor.

Author(s)

Christofer B├Ącklin

See Also

numeric_label.


backlin/treesmapstheorems documentation built on May 11, 2019, 5:23 p.m.