Skip to contents

The ggplot2::autoplot() method for a scenario; dispatches to sdt_plot_triage_mix().

Usage

# S3 method for class 'scenario'
autoplot(object, ...)

Arguments

object

A scenario object.

...

These dots are for future extensions and must be empty.

Value

A ggplot2 object.

Examples

sc <- sdt_scenario(sdt_synthetic_cohort(n = 20, seed = 1))
ggplot2::autoplot(sc)