plot.power_by_samplesize {powerbydesign}R Documentation

Plot Power Results

Description

Plots the power-by-samplesize data.frames returned by the power functions.

Usage

## S3 method for class 'power_by_samplesize'
plot(x, crit_power = NULL, plot_dir = NULL, ...)

Arguments

x

list, results of a power function

crit_power

numeric, critical power value one is looking for (adds a line and the critical sample size to the plot)

plot_dir

character, name of an existing directory where the power plots should be saved to (leaving it NULL will plot to the default device)

...

additional parameters, not used at the moment

See Also

boot.power.anova


[Package powerbydesign version 1.0.5 Index]