plotPredictions.classres: Prediction plot for classification results

View source: R/classres.R

plotPredictions.classresR Documentation

Prediction plot for classification results

Description

Makes a plot with predicted class values for classification results.

Usage

## S3 method for class 'classres'
plotPredictions(
  obj,
  nc = seq_len(obj$nclasses),
  ncomp = obj$ncomp.selected,
  ylab = "",
  show.plot = TRUE,
  ...
)

Arguments

obj

classification results (object of class plsdares, simcamres, etc.).

nc

vector with classes to show predictions for.

ncomp

model complexity (number of components) to make the plot for.

ylab

label for y axis

show.plot

logical, shall plot be created or just plot series object is needed

...

most of the graphical parameters from mdaplotg or mdaplot function can be used.

Details

See examples in description of plsdares, simcamres, etc.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.