Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/xpssComputeStrings.R
Helper Function for xpssCompute. R Implementation of the SPSS CHAR.LPAD
Function.
1 |
x |
atomic character or character vector. |
length |
atomic numeric. Number of characters x is to be filled on the left. |
fill |
atomic character. String which should be append on the left side. |
The value of length represents the number of characters and must be a positive integer. If the optional argument fill
is not specified, x
is padded with blank spaces.
String, left-padded by length lengthpa
.
Bastian Wiessner
1 2 3 | xpssCompute(x="My Friend",fun="computeChar_lpad",length=15)
xpssCompute(x="My Friend",fun="computeChar_lpad",length=15, fill="Hello ")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.