sampleStr {toolbox} | R Documentation |
Generates (pseudo)random strings of the specified char length
Description
Generates (pseudo)random strings of the specified char length
Usage
sampleStr(n_char, sample_chars = c(letters, LETTERS, 0:9))
Arguments
n_char |
A integer, the number of chars to include in the output string. |
sample_chars |
A vector of characters to sample from. Includes the lowercase and uppercase English alphabet and 0-9 by default. |
Value
A string.
Examples
sampleStr(10)
[Package toolbox version 0.1.1 Index]