This function generates plots of P-values against beta-null (\(\beta_0\)) values for each variable specified in an 'exactt' object. The function uses ggplot2 for plotting, showing the significance level with a horizontal line and the estimate from the summary with a vertical line.
An object of class 'exactt', typically the output from exactt function,
containing elements 'detailed' for plotting data, 'summary' for vertical lines at estimates,
and 'call' from which the significance level 'alpha' is extracted.
The significance level used for the hypothesis tests; defaults to alpha used when calling the exactt function.
A character vector specifying which variables to plot. If NULL, plots are generated for all variables contained in the 'exactt' object.
A Boolean indicating whether to include the point estimate in the plot.
a Boolean indicating whether to include confidence interval bounds in the plot.
A named list of additional arguments to pass to the plot function.
This allows customization of the main plot, such as setting titles (main), axis labels (xlab,
ylab), colors (col, col.axis), line types (lty), and other graphical parameters.
Use this to adjust the appearance of the plot according to your preferences.
A named list of additional arguments to pass to the legend function.
This enables customization of the legend, including position (x, y), background color (bg),
border (bty), text size (cex), and more. Use this list to modify the legend's appearance and placement within the plot.
A named list of additional arguments to pass to the axis function when customizing the axes.
This can include parameters such as axis label size (cex.axis), axis label color (col.axis), font style (font.axis),
tick mark length (tck), and others. Utilize this list to fine-tune the appearance of the plot axes.
Additional arguments passed to the legend function (not currently used by included for consistency).
A list of ggplot objects, one for each variable specified. Each plot represents the relationship between P-values and beta-null values for that variable, highlighted with reference lines for the estimated coefficient and significance level.