RAND_VAR$..init.. | R Documentation |
This function will be called after an instance is built. User input will be stored in the environment.
RAND_VAR$..init..(dist = "", prm = list())
dist |
Character. Distribution name. |
prm |
List. List of parameters. |
Return the object itself.
RAND_VAR$..init..
# Instantiate
test <- rand_var(dist = "uniform", prm = list(a = 1, b = 2))
test$prm
test$dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.