plot_power {R2sample}R Documentation

This function draws the power graph, with curves sorted by the mean power and smoothed for easier reading.

Description

This function draws the power graph, with curves sorted by the mean power and smoothed for easier reading.

Usage

plot_power(pwr, xname = " ", Smooth = TRUE)

Arguments

pwr

a matrix of power values, usually from the twosample_power command

xname

Name of variable on x axis

Smooth

=TRUE lines are smoothed for easier reading

Value

plt, an object of class ggplot.


[Package R2sample version 1.1.0 Index]