format_percent_change: format_percent_change

format_percent_changeR Documentation

format_percent_change

Description

Format a relative change as plus/minus percentages (0 means no change).

Usage

format_percent_change(x, digits = 0, na = "", zero = "0%", sign = TRUE)

Arguments

x

numeric

na

value to use if x is NA; defaults to an empty string

zero

value to use if x is unity; defaults to zero percent (unsigned, no digits).


BAAQMD/strtools documentation built on May 3, 2024, 10:56 a.m.