Plot method for cbc_power objects
# S3 method for cbc_power
plot(x, type = "power", power_threshold = 0.8, ...)Returns a ggplot2 object (class: "gg", "ggplot") that can be further customized, saved, or displayed. The plot visualizes either statistical power curves or standard error curves across different sample sizes for each parameter in the power analysis, with appropriate axis labels, legends, and reference lines.
A cbc_power object
Type of plot: "power" for power curves or "se" for standard error curves
Power threshold for horizontal reference line (only for power plots). Defaults to 0.8
Additional arguments passed to ggplot