plot_rand: Plot random distribution

View source: R/plot_rand.R

plot_randR Documentation

Plot random distribution

Description

This function takes the return of the rand_test function and creates a histogram with the distribution of the rand sample statistics.

Usage

plot_rand(
  object,
  xlab = NA,
  ylab = "Frequency",
  title = "Random distribution",
  text_observed = "observed",
  color = "lightgrey",
  ...
)

Arguments

object

Object returned from the rand_test() function

xlab

Label for the x-axis.

ylab

Label for the y-axis.

title

Plot title.

text_observed

Text for marking the number of observed statistic.

color

Bar color.

...

Further arguments passed to the plot function.


scan documentation built on July 1, 2024, 9:07 a.m.