Skip to contents

Plots power against sample size, n, for what a power_curve call evaluated: for DPIR, the global and average-parameter probabilities; for BFDA, the edge; for BSDA, the whole-graph criterion.

Usage

# S3 method for class 'ggm_power_curve'
plot(x, which = c("h1", "h0", "both"), ...)

Arguments

x

A ggm_power_curve object, as returned by power_curve.

which

BFDA only: which curve(s) to plot, "h1" (default, power to detect the edge), "h0" (power to exclude it), or "both". Ignored for DPIR (always both curves) and BSDA (a single curve).

...

Further arguments passed to plot().

Value

The plotted ggm_power_curve object, invisibly.