Learn R Programming

mdatools (version 0.9.1)

plotHist.randtest: Histogram plot for randomization test results

Description

Makes a histogram for statistic values distribution for particular component, also show critical value as a vertical line.

Usage

# S3 method for randtest
plotHist(obj, comp = NULL, main = NULL,
  xlab = "Test statistic", ylab = "Frequency", ...)

Arguments

obj

results of randomization test (object of class `randtest`)

comp

number of component to make the plot for

main

main title for the plot

xlab

label for x axis

ylab

label for y axis

...

other optional arguments

Details

See examples in help for randtest function.