Learn R Programming

mdatools (version 0.14.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, ncomp = obj$ncomp.selected, bwd = 0.9, ...)

Arguments

obj

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

ncomp

number of component to make the plot for

bwd

width of bars (between 0 and 1)

...

other optional arguments

Details

See examples in help for randtest function.