Description Usage Arguments Value Examples
Monte Carlo Parametric Sampling
1 | sample_MC_from_dist(distribution, param_list)
|
distribution |
- name of distribution from which to sample |
param_list |
list or vector of parameters for distribution |
function taking a size argument to return number of samples
1 2 3 4 | sample_MC_from_dist("normal", list(0, 1))
sample_MC_from_dist("normal", list(mean = 0, sd = 1))
sample_MC_from_dist("hyper", list(m = 10, n = 7, k = 8))
sample_MC_from_dist("hyper", list(10, 7, 8))(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.