rstring: Random string generator

Description Usage Arguments Examples

View source: R/functions.R

Description

Generate random strings, as for a password

Usage

1
rstring(size = 14, times = 1, set = c(LETTERS, letters, 0:9))

Arguments

size

the string length

times

the number of strings to create

set

the set of possible values to use

Examples

1
2
3
set.seed(40)
rstring(size=20, times=4)
set.seed(sample(2^31, size=1))

noahbullock/noahfuncs documentation built on May 23, 2019, 9:29 p.m.