padInteger | R Documentation |
prefix integers with leading zeros
padInteger(x, padCharacter = "0", useNchar = NULL, ...)
x |
|
padCharacter |
|
useNchar |
|
... |
additional parameters are ignored. |
The purpose of this function is to pad integer numbers so they contain a consistent number of digits, which is helpful when sorting values as character strings.
character
vector of length(x).
Other jam string functions:
asSize()
,
breaksByVector()
,
cPasteSU()
,
cPasteS()
,
cPasteUnique()
,
cPasteU()
,
cPaste()
,
fillBlanks()
,
formatInt()
,
gsubOrdered()
,
gsubs()
,
makeNames()
,
mixedOrder()
,
mixedSortDF()
,
mixedSorts()
,
mixedSort()
,
mmixedOrder()
,
nameVectorN()
,
nameVector()
,
padString()
,
pasteByRowOrdered()
,
pasteByRow()
,
sizeAsNum()
,
tcount()
,
ucfirst()
,
uniques()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.