getRandomstrings: Generates random strings

Description Usage Arguments Value Examples

View source: R/data.R

Description

Generates random strings

Usage

1
2
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

1
getRandomstrings(center="hello", maxdist = 2, n = 5)

bdlp documentation built on May 2, 2019, 6:50 p.m.