Description Usage Arguments Value Author(s) References Examples
View source: R/randomnumGenerator.R
This function generates random variables that don't repeat in a given range
1 | randomnumGenerator(randomnumRange, lengthRandomnum, howManyRands)
|
randomnumRange |
This is the range of the random numbers randomnumRange can be something given as: randomnumRange=1:487 or randomnumRange=c(6, 12, 36, 67, 87, 146, 267) therefore length of the randonnumRange in the first case is 487 in the second case is 7, defining the index of the randomnumRange to be swapped |
lengthRandomnum |
This is the length of the random number range |
howManyRands |
Number of random values |
An array of different random numbers
Sebnem Er
Swap method of Charlie Daly
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.