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