View source: R/mcpar-analysis.R
mcparam.sample | R Documentation |
Optionally, apply a function to the sampled values.
mcparam.sample(mc.data, nsamp = 100, func = NULL)
mc.data |
Data frame of Monte Carlo output |
nsamp |
Number of samples to draw |
func |
Optional function to apply to the samples drawn from the MC distribution. |
If func
is NULL
, the return value will be a data frame of
sampled parameter values. Otherwise the return value will be a list with the
data frame just described in the first element and the output of func
in the second.
Data frame or list (see details)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.