left.pad.zeros: Left Pad Zeros

Description Usage Arguments Details Value Author(s)

View source: R/utils.R

Description

left padded by zeros up to a given number of digits.

Usage

1
  left.pad.zeros(num, digits = 5)

Arguments

num

number to be padded (integer)

digits

number of digits to add

Details

returns a string representing a given number

Value

num with zeros to the left

Author(s)

Carl Davidson


dlebauer/pecan-priors documentation built on Sept. 26, 2019, 5:03 a.m.