Learn R Programming

bayesbio (version 1.0.0)

createStrings: Creates random, unique character strings.

Description

Makes them unique by randomly choosing the character strings; and, in case it is necessary, adding numbers to the end using make.unique.

Usage

createStrings(number, length, upper = FALSE)

Arguments

number
Specifies the number of character strings that should be created.
length
Specifies the length of each character string in letters.
upper
Binary parameter specifying whether the character strings should be uppercase. Default = FALSE, so the character strings are all lowercase.

References

http://stackoverflow.com/a/1439541/560791