Description Usage Arguments See Also Examples
Method used to create REARandom object that will be passed in API call to Random.org's generateIntegers method.
1 2 3 4 5 | ## S4 method for signature
## 'REARandom,numeric,numeric,numeric,numeric,logical,numeric'
setIntegers(REARandomObject,
id = 42, n = 1, min = 1, max = 999, replacement = FALSE,
base = 10)
|
REARandomObject |
an Object of class REARandom to prepare for generateIntegers API call |
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. |
max |
The maximum value integer to use for the request; default is 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. |
Other REARandom Constructor Methods: setApiKey
,
setBLOBs,REARandom,numeric,numeric,numeric,character-method
,
setDecimals,REARandom,numeric,numeric,numeric,logical-method
,
setNormal,REARandom,numeric,numeric,numeric,numeric,numeric-method
,
setStrings,REARandom,numeric,numeric,numeric,character,logical-method
,
setUniqueID,REARandom,numeric,numeric-method
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.