abs_formatter: Absolute value formatter for continuous_scale

View source: R/abs_formatter.R

abs_formatterR Documentation

Absolute value formatter for continuous_scale

Description

This will print the absolute value for labeling on axis. Usefull for stacked bar plots where negative values are not negative percentages but represent negative groups.

Usage

abs_formatter(x)

Arguments

x

value to be reformatted.

Value

the absolute value of x.


jbryer/likert documentation built on July 29, 2022, 3:42 p.m.