Plot summaries of power simulation
plot_summary(sim, crit, thres, digits = 3, how = "greater")
A 'ggplot2' graphics.
A Sim or a SimCurve object, output from `sim_power()` or `sim_curve()`.
A string specifying the significance criteria.
A number or vector of numbers specifying the thresholds of "significance".
An integer for the number of decimal points to display.
A string, whether to compare the criterion 'greater' or 'lesser' than the threshold.