getRandomstrings {bdlp} | R Documentation |
Generates random strings
Description
Generates random strings
Usage
getRandomstrings(
center = NULL,
maxdist = NULL,
length = nchar(center),
n = 1,
method = "lv"
)
Arguments
center |
Reference string, i.e. the cluster center |
maxdist |
The maximum allowed string distance |
length |
The length of the string |
n |
Number of strings to be generated |
method |
The string distance method used to calculate the string, defaults to Levensthein distance |
Value
A character string
Examples
getRandomstrings(center="hello", maxdist = 2, n = 5)
[Package bdlp version 0.9-2 Index]