getSuccessStats | R Documentation |
Success vs target is defined as a trial with a terminal value >= the terminal value. Success vs zero (0) is defined as a trial with a terminal value > 0. The list returned by this function includes: vector of success by trial vs target, vector of success by trial vs 0, integer count of success vs target, integet count of success vs 0, numeric percentage success vs target numeric percentage success vs 0
getSuccessStats(sim, simResult = "simulation")
sim |
Simulation object after running simulate function |
simResult |
Name of item in sim with results (class = 'simResult') |
list
## Not run: getSuccessStats(sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.