Learn R Programming

ConsensusOPLS (version 1.1.0)

plotR2: 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 ConsensusOPLS plotR2( object, breaks = 10, xlab = "R2", main = "R2 in models with permuted response", col = "blue", lty = "dashed", ... )

Value

No return value, called for side effects.

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.