Description Usage Arguments Details Value Examples
Generates Random Numbers based on a distribution defined by any arbitrary cumulative distribution function
1 2 3 4 5 6 7 8 9 |
Fun |
function to use as the cdf. See details |
min, max |
range values for the domain of the |
... |
arguments that can be passed to |
data |
data set containing arguments to be passed to |
n |
number of observations to generate. The |
.seed |
One of the following:
To extract the random seed from a previously generated set of
values, use |
The Fun
argument accepts purrr
style inputs.
Must be vectorised, defined on the whole Real line and return a
single numeric value between 0 and 1 for any input. The random
variable will be passed to Fun
as the first argument.
This means that R's argument matching can be used with named
arguments in ...
if a different positional argument is wanted.
A numeric vector of length n
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.