rand_strings_like: Generate random strings resembling old strings

View source: R/util.R

rand_strings_likeR Documentation

Generate random strings resembling old strings

Description

rand_strings_like creates new strings with the same distributions of letters and string lengths as a vector of supplied strings. Needs to be at least length two.

Usage

rand_strings_like(strings_like, n_samples = 1)

Arguments

strings_like

a vector of strings that the random strings should resemble


rijpma/capelinker documentation built on Nov. 7, 2024, 3:06 a.m.