formatMinimumDigits: Function factory to be used to specify the minimum number of...

View source: R/graphicR.R

formatMinimumDigitsR Documentation

Function factory to be used to specify the minimum number of digits to be used in numbers. The function generates numbers as strings

Description

Function factory to be used to specify the minimum number of digits to be used in numbers. The function generates numbers as strings

Usage

formatMinimumDigits(digits)

Arguments

digits

integer value that specifies the number of digits to be used by the resulting function

Value

a function that will take a numeric vector as an argument and returns a character vector of the numeric vector with the set minimum number of digits (see ?formatC for more info)


BenBruyneel/BBPersonalR documentation built on Aug. 23, 2024, 8:28 p.m.