Skip to contents

Format index with enough leading zeros

Usage

format_idx(idx, max.idx = NULL)

Arguments

idx

integer vector Numbers to convert into character strings with enough leading zeros to accommodate max.idx.

max.idx

integer vector of length one.