p_pct-deprecated: Formats a number to print as percentage

p_pct-deprecatedR Documentation

Formats a number to print as percentage

Description

Takes a number and returns it as a formatted string expressing the percentage

Usage

p_pct(x, digits)

Arguments

x

A number

digits

The number of digits after the percentage point. Defaults to 1. Trailing zeroes are shown as needed.

See Also

rNuggets-deprecated


LukasWallrich/rNuggets documentation built on Aug. 26, 2022, 11:03 a.m.