This function takes the return of the rand_test function and creates a histogram with the distribution of the rand sample statistics.
plot_rand(
object,
type = "hist",
xlab = NULL,
ylab = NULL,
title = NULL,
text_observed = "observed",
color = "lightgrey",
...
)
Object returned from the rand_test() function
'hist' or 'xy'.
Label for the x-axis.
Label for the y-axis.
Plot title.
Text for marking the number of observed statistic.
Bar color.
Further arguments passed to the plot function.