zero_pad: Zero pad character vectors

View source: R/text.R

zero_padR Documentation

Zero pad character vectors

Description

Zero pad character vectors

Usage

zero_pad(x, digits)

Arguments

x

character input to pad

digits

numeric. number of zeros to pre-append

Examples

## Not run: 
zero_pad(1, 2)
zero_pad(1, 3)

## End(Not run)

jsta/rjsta documentation built on June 7, 2022, 8:39 p.m.