Plots an valiCATE object.

# S3 method for class 'valiCATE'
plot(
  x,
  target = "GATES",
  which_models = names(x$GATES[[1]]),
  gates_hline = TRUE,
  toc_smoother = 1,
  ...
)

Arguments

x

An valiCATE object.

target

String controlling which plot to display. Must be one of "GATES", "TOC", or "RATE".

which_models

Character vector controlling which results to display. Admitted values are those stored in names(x$GATES[[1]]). Ignored if target != "GATES".

gates_hline

Logical, whether to display an horizontal line at zero in the GATES plot. Ignored if target != "GATES".

toc_smoother

Integer number, controls the amount of smoothing in the TOC and RATE plots. Smoothing is achieved by plotting the TOCs only for every other toc_smoother unit (in order of treatment benefit). Set to 1 to plot the TOC of all units, to 2 to plot the TOC of every other unit, ecc. Ignored if target == "GATES".

...

Further arguments passed to or from other methods.

Value

Plots an valiCATE object.

Details

Check the online plotting vignette for details.

Author

Riccardo Di Francesco