plotProbabilities.classres {mdatools} | R Documentation |
Makes a plot with class belonging probabilities for each object of the classification results. Works only with classification methods, which compute this probability (e.g. SIMCA).
## S3 method for class 'classres' plotProbabilities( obj, ncomp = obj$ncomp.selected, nc = 1, type = "h", ylim = c(0, 1.1), show.lines = c(NA, 0.5), ... )
obj |
classification results (e.g. object of class |
ncomp |
number of components to use the probabilities for. |
nc |
if there are several classes, which class to make the plot for. |
type |
type of the plot |
ylim |
vector with limits for y-axis |
show.lines |
shows a horizontal line at p = 0.5 |
... |
most of the graphical parameters from |