Produces a histogram of the permutation distribution with a vertical line indicating the observed statistic.
# S3 method for perm_test
plot(x, bins = 30, col = "lightgray", line_col = "red", ...)A base R side effect plot. Function returns NULL invisibly.
An object of class "perm_test".
Number of histogram bins (default 30).
Color for histogram bars (default "lightgray").
Color for observed statistic line (default "red").
Additional arguments passed to hist().