RAND_UNIFORM$gen | R Documentation |
This function generates random values from the random variable.
RAND_UNIFORM$gen(n, a = NULL, b = NULL)
n |
Integer. Number of observations. |
a |
Numeric. If it is provided and has length |
b |
Numeric. If it is provided and has length |
A vector of numeric values.
stats::runif()
test <- rand_uniform(a = 1, b = 2)
test$gen(10)
test$gen(3, a = c(1,2,3), b = c(2,3,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.