to_00_char: Transform an integer vector to a character prefixed by an...

Description Usage Arguments Examples

View source: R/to_00_char.R

Description

Transform an integer vector to a character prefixed by an arbitrary number of 0 digits

Usage

1
to_00_char(x, clen = NULL)

Arguments

x

a numeric vector

clen

length of final character vector

Examples

1
2
3
4
5
6
to_00_char(c(1,20,3), 3)
to_00_char(c(1,20,3), 2)
## Not run: 
to_00_char(c(1,20,3), 1)

## End(Not run)

lbraglia/yapomif documentation built on May 20, 2019, 11:26 p.m.