plotR2: R2 plot

plotR2R Documentation

R2 plot

Description

Plot of R2 of models with permuted response.

Usage

plotR2(
  object,
  breaks = 10,
  xlab = "R2",
  main = "R2 in models with permuted response",
  col = "blue",
  lty = "dashed",
  ...
)

## S4 method for signature 'ConsensusOPLS'
plotR2(
  object,
  breaks = 10,
  xlab = "R2",
  main = "R2 in models with permuted response",
  col = "blue",
  lty = "dashed",
  ...
)

Arguments

object

An object of class ConsensusOPLS.

breaks

See hist.

xlab

See hist.

main

See hist.

col

A color code or name for R2 in the optimal model. Default, 2. See abline.

lty

A line type code or name for R2 in the optimal model. Default, 2. See abline.

...

hist arguments.

Value

No return value, called for side effects.


ConsensusOPLS documentation built on April 3, 2025, 11:16 p.m.