plotPerformance.classmodel {mdatools} | R Documentation |
Performance plot for classification model
Description
Makes a plot with sensitivity values vs. model complexity (e.g. number of components)
Usage
## 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,
...
)
Arguments
obj |
classification model (object of class |
nc |
class number to make the plot for. |
param |
which parameter to make the plot for ( |
type |
type of the plot |
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 tick values for x-axis |
res |
list with result objects to show the plot for |
... |
most of the graphical parameters from |
[Package mdatools version 0.14.1 Index]