
Last chance! 50% off unlimited learning
Sale ends in
Makes a plot with sensitivity values vs. model complexity (e.g. number of components)
# S3 method for 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,
...
)
classification model (object of class plsda
, simca
, etc.).
class number to make the plot for.
which parameter to make the plot for ("specificity"
, "sensitivity"
,
or "misclassified"
)
type of the plot
what to show as labels for plot objects.
label for y axis
vector with two values - limits for y axis
vector with tick values for x-axis
list with result objects to show the plot for
most of the graphical parameters from mdaplotg
function can be used.