pct2str: Converts decimal percentage to string with specified digits

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Converts decimal percentage to string with specified digits

Usage

1
pct2str(v, digits = 2)

Arguments

v

A single value

digits

number of digits

Value

Boolean

Examples

1
2
nums <- 0.23
pct2str(nums)

hiplot/animalcules documentation built on March 1, 2021, 12:04 a.m.