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