human_numbers: A ggplot2 number formatter

View source: R/functions.R

human_numbersR Documentation

A ggplot2 number formatter

Description

This function formats numbers for output in a 'human' way.

Usage

human_numbers(x = NULL, smbl = "", signif = 1)

Arguments

x

An object of class numeric

smbl

A character or symbol to be added prior to the number, e.g. an euro sign.

signif

Number of significant figures

Value

A formatted character vector

Author(s)

Iago Mosqueira (EC JRC)

See Also

labeller


flr/ggplotFL documentation built on Feb. 10, 2024, 3:57 p.m.