Learn R Programming

likert (version 1.3.5.1)

abs_formatter: 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)

Value

the absolute value of x.

Arguments

x

value to be reformatted.