plotPerformance.classres | R Documentation |
Makes a plot with classification performance parameters vs. model complexity (e.g. number of components) for classification results.
## S3 method for class 'classres'
plotPerformance(
obj,
nc = 1,
type = "b",
param = c("sensitivity", "specificity", "misclassified"),
labels = "values",
ylab = "",
ylim = c(0, 1.1),
xticks = seq_len(obj$ncomp),
show.plot = TRUE,
...
)
obj |
classification results (object of class |
nc |
if there are several classes, which class to make the plot for. |
type |
type of the plot |
param |
which performance parameter to make the plot for (can be a vector with several values). |
labels |
what to show as labels for plot objects. |
ylab |
label for y axis |
ylim |
vector with two values - limits for y axis |
xticks |
vector with x-axis tick values |
show.plot |
logical, shall plot be created or just plot series object is needed |
... |
most of the graphical parameters from |
See examples in description of plsdares
, simcamres
, etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.