plot.power_by_samplesize: Plot Power Results

Description Usage Arguments See Also

View source: R/plot.power_by_samplesize.R

Description

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

Usage

1
2
## 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


powerbydesign documentation built on Feb. 25, 2021, 5:10 p.m.