Description Usage Arguments Details Value Examples
Function used to create new REARandom class objects
1 |
api |
Takes a single character argument with either a file containing the api key for Random.org, the key itself, or a NULL value. |
Function to construct new REARandom class objects
Returns an object of class REARandom
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Create a new REARandom object in x with made up API key passed as an
# argument to the function
x <- reaRandom(api = "ABCD123456789abcd")
# Same as above but assuming the API key is stored in a file on the local
# system
x <- reaRandom(api = "~/.randomOrgApiKey")
# Same as above assuming the API key is stored as an option named
# "reaRandomKey"
x <- reaRandom()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.