Plot output from the SCUL procedure in levels, differences, and standardized difference

PlotDiffOfActualvSCUL(
  y.actual = SCUL.output$y.actual,
  y.scul = SCUL.output$y.scul,
  time = SCUL.output$time,
  OutputFilePath = SCUL.input$OutputFilePath,
  TreatmentBeginsAt = SCUL.output$TreatmentBeginsAt,
  save.figure = FALSE
)

Arguments

y.actual

The actual (target) data. Default is SCUL.output$y.actual.

y.scul

Synthetic data created by SCUL procedure. Default is SCUL.output$y.scul.

time

Default is SCUL.output$time.

OutputFilePath

Default is SCUL.input$OutputFilePath.

TreatmentBeginsAt

Default is SCUL.output$TreatmentBeginsAt.

save.figure

Boolean, set to TRUE if you want output saved as figure to OutputFilePath automatically. Default is FALSE

Value

plots Three plots that compare scul results to actual data; in levels, difference, and standardized difference.