plotDiff: plotDiff

Usage Arguments

Usage

1
2
plotDiff(result, estNames, estLabels = estNames, truthName = "truth",
  ylim = NULL, xlim = NULL, ...)

Arguments

result

Result data frame

estNames

Column names of results data frame that are the two estimators to be compared

estLabels

Vector of names to label estimators in legend (default is to use estNames)

truthName

Column name of results data frame that is the true ATE

ylim

y-axis limits for the plot. If null, looks for range and adds 5

\item

...Other arguments passed to plot

Plot the difference between the scaled version of two estimators. The estimator names are entered in estNames and the difference between absolute value of Z-scores for estNames[1] - estNames[2] is plotted.


benkeser/haltmle.sim documentation built on May 12, 2019, noon