Learn R Programming

cbcTools (version 0.7.1)

plot_compare_power: Compare power across multiple designs

Description

Compare power across multiple designs

Usage

plot_compare_power(..., type = "power", power_threshold = 0.8)

Value

A ggplot object comparing power curves

Arguments

...

Named cbc_power objects to compare

type

Type of plot: "power" for power curves or "se" for standard error curves

power_threshold

Power threshold for horizontal reference line (only for power plots). Defaults to 0.8