plotCoverage: plotCoverage

Usage Arguments

Usage

1
2
3
plotCoverage(result, cilNames, ciuNames, strat, truthName = "truth",
  pointOptions = list(pch = 1:length(cilNames)), estLabels = cilNames,
  legendOptions = list(x = "topleft", legend = estLabels), ylim = NULL, ...)

Arguments

result

The result data frame

cilNames

Column name(s) of results data frame that are lower confidence bounds

ciuNames

Column name(s) of results data frame that are upper confidence bounds

strat

The name of the variable on which to stratify

truthName

The column name containing the true ATE

pointOptions

A list of arguments to be passed to points

estLabels

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

legendOptions

A list of arguments passed to legend. pointOptions are added automatically

ylim

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

\item

...Additional arguments passed to plot

Function to plot the coverage for a given set of estimators stratified by a given set of covariates


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