chartSuccessOverTime: Success across Time Chart

chartSuccessOverTimeR Documentation

Success across Time Chart

Description

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.

Usage

chartSuccessOverTime(sim, vs = "T", simResult = "simulation")

Arguments

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')

Value

ggplot2 object

Examples

## Not run: (sim)

rexmacey/aasim documentation built on Oct. 29, 2024, 9:30 a.m.