Performance plot for classification model
Makes a plot with sensitivity values vs. model complexity (e.g. number of components)
## S3 method for class 'classmodel' plotPerformance( obj, nc = 1, param = "misclassified", type = "b", labels = "values", ylab = "", ylim = c(0, 1.15), xticks = seq_len(dim(obj$res$cal$c.pred)[2]), res = obj$res, ... )
obj
: classification model (object of class plsda
, simca
, etc.).nc
: class number to make the plot for.param
: which parameter to make the plot for ("specificity"
, "sensitivity"
, or "misclassified"
)type
: type of the plotlabels
: what to show as labels for plot objects.ylab
: label for y axisylim
: vector with two values - limits for y axisxticks
: vector with tick values for x-axisres
: list with result objects to show the plot for...
: most of the graphical parameters from mdaplotg
function can be used.