You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
549 B

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/common.R
\title{Create a string of specified width from an integer}
int2padstr(ii, pchr, w)
\item{ii}{integer or vector of integers}
\item{pchr}{a padding character (e.g., "0")}
\item{w}{width of the return string (an integer)}
a string or a vector of strings
Converts an integer or a vector of integers to a string
of fixed length padded with a specified character (e.g., zeroes).