plotCorr.randtest: Correlation plot for randomization test results

View source: R/randtest.R

plotCorr.randtestR Documentation

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 class 'randtest'
plotCorr(
  obj,
  ncomp = obj$ncomp.selected,
  ylim = NULL,
  xlab = expression(r^2),
  ylab = "Test statistic",
  ...
)

Arguments

obj

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

ncomp

number of component to make the plot for

ylim

limits for y axis

xlab

label for x-axis

ylab

label for y-axis

...

other optional arguments

Details

See examples in help for randtest function.


mdatools documentation built on Aug. 13, 2023, 1:06 a.m.