dsim_effect_plot: Simulates time series using univariate ARIMA models

Description Usage Arguments

View source: R/dsim_effect_plot.R

Description

This function plots the simulated time series in ggplot2.

Usage

1
2
3
4
5
6
7
dsim_effect_plot(
  dsim_object,
  plot_output = "treated_time_series",
  line_color = "darkblue",
  line_type = "dashed",
  line_size = 0.6
)

Arguments

dsim_object

The output from arima_ts_sim.

plot_output

Specifies which time series should be plotted on the y-axis. There are four possible options: pointwise_effect, cumulative_effect, untreated_time_series, and treated_time_series.

line_color

Specifies the color of the output variable.

line_type

Specifies the line type of the output variable.

line_size

Specifies the line size of the output variable.


gl-smith/DynamicEffectSim documentation built on Dec. 20, 2021, 11:44 a.m.