Description Usage Arguments Details
Method to create REARandom object used for Random.org method call to get random integers.
Creates object used to Random.org's generateDecimalFractions API method
Creates object used to Random.org's generateGaussians API method
Creates object used to Random.org's generateStrings API method
Creates object used to Random.org's generateUUIDs API method
Creates object used to Random.org's generateBlobs API method
Method to retrieve random values from Random.org API
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | setIntegers(REARandomObject, id, n, min, max, replacement, base)
setDecimals(REARandomObject, id, n, decimalPlaces, replacement)
setNormal(REARandomObject, id, n, mean, standardDeviation, significantDigits)
setStrings(REARandomObject, id, n, length, characters, replacement)
setUniqueID(REARandomObject, id, n)
setBLOBs(REARandomObject, id, n, size, format)
getRandom(REARandomObject, simplifyVector, simplifyDataFrame, simplifyMatrix,
flatten)
|
REARandomObject |
an Object of class REARandom |
id |
ID Used for retrieval and matching of API call request and payload; default is 42. |
n |
Number of random values to generate; default is 1. |
min |
The minimum value integer to use for the request; default is 1,000,000. |
max |
The maximum value integer to use for the request; default is 9,999,999. |
replacement |
Whether the values should be sampled with or without replacement from the distribution. |
base |
Which base value should the numbers be reported in; defaults to base 10 (decimal). A value of 2 would provide binary values, a value of 8 would return octal values, and value of 16 would return hexadecimal values. |
decimalPlaces |
The number of decimal places to return. Must be in [1, 20]; defaults to 1. |
mean |
Value of the mean for the distribution from which to draw random numbers. Must be in [-1e6, 1e6]; defaults to 0. |
standardDeviation |
Value for the standard deviation of the distribution. Must be in [-1e6, 1e6]; defaults to 1. |
significantDigits |
The number of digits beyond the decimal to retain. Must be in [2, 20]; defaults to 2. |
length |
The number of characters to include in each random string (must be in [1, 20]) |
characters |
The set of characters from which to generate random strings. Must have length <= 80. |
size |
The size in bits of the objects to return (must be divisible by 8) |
format |
Either 'base64' or 'hex' to specify how the BLOBs are serialized |
simplifyVector |
A logical passed to the underlying call to jsonlite::fromJSON() |
simplifyDataFrame |
A logical passed to the underlying call to jsonlite::fromJSON() |
simplifyMatrix |
A logical passed to the underlying call to jsonlite::fromJSON() |
flatten |
A logical passed to the underlying call to jsonlite::fromJSON() |
REARandomObject |
an Object of class REARandom |
Method to create object to pass to the generateIntegers method of the Random.org API
Method to create object used for generateDecimalFractions API Method
Method to create object used for generateGaussians API Method
Method to create object used for generateStrings API Method
Method to create object used for generateUUIDs API Method
Method to create object used for generateBlobs API Method
Getting Random values from Random.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.