chartSuccessDonut | R Documentation |
Produces a simple donut chart showing the number and percent of successes and failures.
chartSuccessDonut(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') |
a ggplot object
## Not run: chartSucessDonut(sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.