plotRMSERatio.regmodel {mdatools}R 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)


[Package mdatools version 0.14.1 Index]