Description Usage Arguments Value Examples
transform the sample function to generator,generator means only need to input n then you can get simulation data
1 | trans_to_gen(sample_function, ...)
|
sample_function |
sample function |
... |
parameter in sample function exept n |
a function
1 2 | gen=trans_to_gen(runif,3,4)
gen(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.