Plots the simple slope min and max estimates from power_interaction().
Usage
plot_simple_slope(power_data, x = NULL, facets = NULL)
Value
A ggplot2 object
Arguments
power_data
Data frame of results from power_interaction(). Can accept the raw results if up to 2 parameters were varied during simulation. Any more and data should be filtered first.
x
Optional, the x-axis of the plot. Default is the first variable after 'pwr'.
facets
Optional, grouping variable for plot facets. Default is the second variable after 'pwr' if present.