View source: R/distrSimulate.R
distrSimulate | R Documentation |
Helper function to quickly simulate from a distribution with given parameters.
distrSimulate( n = 100, distribution = "Normal", pars = list(), simplify = TRUE, seed, ... )
n |
number of points to simulate. |
distribution |
distribution to simulate from, corresponds to |
pars |
parameters to pass to |
simplify |
if |
seed |
passed to set.seed |
... |
additional optional arguments for set.seed |
If simplify
then vector of n
simulations, otherwise list of simulations and
distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.