Description Usage Arguments Value See Also Examples
Generates a Monte Carlo sample using Sobol' low-discrepancy quasi-random sequences. Random sampling with R's standard methods is inefficient for Monte Carlo analysis as the sampled values do not cover the parameter space evenly. This function allows users to create parameter samples using quasi-random low-discrepancy Sobol' sequences to get around this problem.
1 | make_MC_sample(n, vals)
|
n |
number of samples to draw |
vals |
a list describing distributions. Each list entry should consist of the following named fields:
|
a data frame with an index column "n" and each distribution in a named column
https://gist.github.com/jkeirstead/1730440
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.