Plot the result from the analyze_time_bins function, with the statistic and threshold for each bin

# S3 method for bin_analysis
plot(x, type = NULL, ...)

Arguments

x

The output of analyze_time_bins

type

This function can plot the test-statistic ("statistic"), the parameter estimate +/- std. error ("estimate"), the p-value ("pvalue") or the negative-log-pvalue ("neg_log_pvalue"). When test gives critical-statistic, default is to plot the test-statistic. Otherwise, default is to plot the estimate. For wilcox, only p-values can be plotted.

...

Ignored

Value

A ggplot object