label_percent: Label Percentages

View source: R/plot.R

label_percentR Documentation

Label Percentages

Description

Label Percentages

Usage

label_percent(x, digits = NULL, trim = FALSE)

Arguments

x

A numeric vector.

digits

An integer indicating the number of decimal places. If NULL (the default), breaks will have the minimum number of digits needed to show the difference between adjacent values.

trim

A logical scalar. If FALSE (the default), values are right-justified to a common width (see base::format()).

Value

A character vector.

Note

For internal use only.

See Also

Other graphic tools: circle(), inch2line(), label_auto()


arkhe documentation built on Nov. 17, 2023, 5:09 p.m.