autopadZeros: Autopad zeros

autopadZerosR Documentation

Autopad zeros

Description

Autopad zeros

Usage

autopadZeros(object, ...)

## S4 method for signature 'character'
autopadZeros(object)

## S4 method for signature 'integer'
autopadZeros(object)

Arguments

object

Object.

...

Additional arguments.

Value

character.

Note

Updated 2023-09-21.

See Also

  • stringr::str_pad().

Examples

## integer ====
autopadZeros(c(1L, 10L, 100L))

## character ====
## Left side.
autopadZeros(c("1-EV-DMSO", "10-EV-DMSO", "2-EV-DMSO-B"))
## Right side.
autopadZeros(c("A1", "B10", "C100"))

steinbaugh/syntactic documentation built on Oct. 31, 2023, 10:36 p.m.