Plot the Counterfactual Path

## Usage

plot_counterfactual(
x,
plus_t = 5,
facet.scales = "free",
title = NULL,
zero_line = TRUE
)

## Arguments

x

An object produced by the isatpanel function

plus_t

Number of time periods for the counterfactual to be displayed (default = 5).

facet.scales

To be passed to ggplot2::facet_wrap. Default is "free" (i.e. a separate y axis for each panel group/id). Alternatives are: "fixed", "fixed_y", and "fixed_x".

title

Plot title. Must be a character vector.

zero_line

Plot a horizontal line at y = 0. Default is TRUE.