Description Usage Arguments Value See Also Examples
summary.simulation
calculates a summary of a given variable across all,
or a portion of, the simulations.
1 2 |
sim |
A list of class 'simulation' generated by the function
|
outcome |
A string with the variable name across which to generate the summaries. |
params |
If NULL, the function will return a summary across all
generated simulation parameters. A character vector can also be included
here, in which case the function will return summaries for only the
selected parameter names. Finally, users can input a list, with the names
of the elements corresponding to parameter names, and the values of each
element providing a vector with the parameter values to be included in the
summary. In all cases, the summary will collapse across all parameters or
parameter values that are excluded from |
func |
The function to be used to generate the summary (e.g., mean, sum). |
... |
Any other arguments to be passed to func. |
Returns a data frame with one row per set of unique simulation tests.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.