fmt_pct: Format fraction as percentage string

View source: R/formatters.R

fmt_pctR Documentation

Format fraction as percentage string

Description

Formats fractions as percentages, i.e. multiplying them by 100 and adding '%'

Usage

fmt_pct(x, digits = 1)

Arguments

x

Numeric, or a vector of numbers

digits

Number of significant digits, defaults to 1


LukasWallrich/timesaveR documentation built on Nov. 29, 2024, 4:47 a.m.