powered by
Generates random strings
getRandomstrings( center = NULL, maxdist = NULL, length = nchar(center), n = 1, method = "lv" )
Reference string, i.e. the cluster center
The maximum allowed string distance
The length of the string
Number of strings to be generated
The string distance method used to calculate the string, defaults to Levensthein distance
A character string
# NOT RUN { getRandomstrings(center="hello", maxdist = 2, n = 5) # }
Run the code above in your browser using DataLab