Learn R Programming

mdatools (version 0.7.0)

plotPerformance.classmodel: Performance plot for classification model

Description

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

Usage

"plotPerformance"(obj, nc = NULL, param = "specificity", type = "h", legend = NULL, 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
legend
vector with legend items
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.