Learn R Programming

arkhe (version 1.4.0)

label_percent: Label Percentages

Description

Label Percentages

Usage

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

Value

A character vector.

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()).

See Also

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