Plots PRISM results, either forest plot (estimate with CIs) or resampling distribution.
# S3 method for PRISM
plot(x, type = "forest", estimand = NULL,
grid.data = NULL, grid.thres = ">0", ...)
PRISM object
Type of plot (default="forest", forest plot for overall and subgroups). Other options include "PLE:waterfall" (waterfall plot of PLEs), "PLE:density" (density plot of PLEs), "resample" (resampling distribution of parameter estimates for overall and subgroups), and "heatmap" (heatmap of ple estimates/probabilities).
For "resample" plot only, must be specify which estimand to visualize. Default=NULL.
Input grid of values for 2-3 covariates (if 3, last variable cannot be continuous). This is required for type="heatmap". Default=NULL.
Threshold for PLE, ex: I(PLE>thres). Used to estimate P(PLE>thres) for type="heatmap". Default is ">0". Direction can be reversed and can include equality sign (ex: "<=").
Additional arguments (currently ignored).
Plot (ggplot2) object