plotRMSERatio.regmodel: RMSECV/RMSEC ratio plot for regression model

View source: R/regmodel.R

plotRMSERatio.regmodelR Documentation

RMSECV/RMSEC ratio plot for regression model

Description

Shows plot with RMSECV/RMSEC values vs. RMSECV for each component.

Usage

## S3 method for class 'regmodel'
plotRMSERatio(
  obj,
  ny = 1,
  type = "b",
  show.labels = TRUE,
  labels = seq_len(obj$ncomp),
  main = paste0("RMSECV/RMSEC ratio (", obj$res$cal$respnames[ny], ")"),
  ylab = "RMSECV/RMSEC ratio",
  xlab = "RMSECV",
  ...
)

Arguments

obj

a regression model (object of class regmodel)

ny

number of response variable to make the plot for (if y is multivariate)

type

type of the plot (use only "b" or "l")

show.labels

logical, show or not labels for plot points

labels

vector with point labels (by default number of components)

main

main plot title

ylab

label for y-axis

xlab

label for x-axis

...

other plot parameters (see mdaplot for details)


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