Learn R Programming

mdatools (version 0.9.1)

plotCorr.randtest: Correlation plot for randomization test results

Description

Makes a plot with statistic values vs. coefficient of determination between permuted and reference y-values.

Usage

# S3 method for randtest
plotCorr(obj, comp = NULL, main = NULL,
  xlab = expression(r^2), ylab = "Test statistic", ylim = NULL, ...)

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

ylim

limits for y axis

...

other optional arguments

Details

See examples in help for randtest function.