Learn R Programming

mdatools (version 0.9.1)

plotPerformance.classmodel: Performance plot for classification model

Description

Makes a plot with sensitivity values vs. model complexity (e.g. number of components)

Usage

# S3 method for classmodel
plotPerformance(obj, nc = NULL, param = "specificity",
  type = "h", main = NULL, xlab = "Components", ylab = "", ylim = c(0,
  1.15), ...)

Arguments

obj

classification model (object of class plsda, simca, etc.).

nc

if there are several classes, which class to make the plot for (NULL - summary for all classes).

param

which parameter to make the plot for ('specificity', 'sensitivity', or 'misclassified')

type

type of the plot

main

main title for the plot

xlab

label for x axis

ylab

label for y axis

ylim

vector with two values - limits for y axis

...

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