add_zeros: Add trailing zeros

View source: R/binary_calcs.R

add_zerosR Documentation

Add trailing zeros

Description

Add trailing zeros

Usage

add_zeros(x, len = max(nchar(x), na.rm = TRUE))

Arguments

x

vector to add trailing zeros

len

length of string to be output

Value

character vector with traling zeros


WhiteJP/jpw documentation built on April 17, 2025, 5:47 a.m.