Makes a plot with sensitivity values vs. model complexity (e.g. number of components)
# S3 method for classmodel
plotPerformance(obj, nc = NULL, param = "specificity",
type = "h", main = NULL, xlab = "Components", ylab = "", ylim = c(0,
1.15), ...)
classification model (object of class plsda
, simca
, etc.).
if there are several classes, which class to make the plot for (NULL - summary for all classes).
which parameter to make the plot for ('specificity'
, 'sensitivity'
,
or 'misclassified'
)
type of the plot
main title for the plot
label for x axis
label for y axis
vector with two values - limits for y axis
most of the graphical parameters from mdaplotg
function can be used.