Skip to contents

Plot tidied simulation output

Usage

plot_output(
  df,
  var_colour = "age",
  var_facet_row = "var",
  var_facet_col = "",
  ylim = NULL,
  facet_scales = "free_y"
)

Arguments

var_colour

variable name for the colour aesthetic

var_facet_row

variable name for facet rows

var_facet_col

variable name for facet columns

ylim

y-axis limits

facet_scales

scales for facets (input into scales argument of ggplot2::facet_wrap())

output

tidied simulation output from tidy_output()

Value

a ggplot2::ggplot object