pad_num: pad_num

View source: R/helpers_r.R

pad_numR Documentation

pad_num

Description

This function creates a sequence of numbers with 0 padding based on the series length.

Usage

pad_num(n, pad = "0")

Arguments

n

the number of columns

pad

the character to use for the padding.

Value

a character string padded by "0"


jkennel/hydrorecipes documentation built on Dec. 24, 2024, 5:38 p.m.