strictNumLength: strictNumLength

Description Usage Arguments Examples

Description

A vectorised utility tool for making numbers the same length. This is usefull for getting filenames in the right order since R thinks stuff_2 comes after stuff_10. Instead this will return numbers such as 0002 and 0010.

Usage

1
strictNumLength(i, d = 4)

Arguments

i

the number to make strict

d

the length of the output number

Examples

1

finite2/trialSim documentation built on May 16, 2019, 12:54 p.m.