chartSuccessOverTime | R Documentation |
Produces two charts, one over the other. The top shows stacked bars with the number of successes and failures by year. The bottom is a line representing the cumulative success rate ( the value of vs is T, then the target is used, otherwise zero.
chartSuccessOverTime(sim, vs = "T", simResult = "simulation")
sim |
Simulation object after running simulate function |
vs |
Choices are 'T' for target or "Z' for zero |
simResult |
Name of item in sim with results (class = 'simResult') |
ggplot2 object
## Not run: (sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.