Description Usage Arguments Value Examples
View source: R/stringOperators.R
Returns a function that generates random strings of length N, with given letters. Can be used to generate individual solutions for permutation problems, e.g., Travelling Salesperson Problem
1 | solutionFunctionGeneratorString(N, lts = c("A", "C", "G", "T"))
|
N |
length of the permutations returned |
lts |
letters allowed in the string |
returns a function, without any arguments
1 2 3 4 | fun <- solutionFunctionGeneratorString(10,c("A","C","G","T"))
fun()
fun()
fun()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.