Classification scatterplot matrix
Function to plot a scatterplot matrix with a classification result.
classscatter(formula, data, method, col.correct = "black", col.wrong = "red", gs = NULL, ...)
formula |
formula of the form |
data |
Data frame from which variables specified in formula are preferentially to be taken. |
method |
character, name of classification function
(e.g. “ |
col.correct |
color to use for correct classified objects. |
col.wrong |
color to use for missclassified objects. |
gs |
group symbol (plot character), must have the same length as the data.
If |
... |
further arguments passed to the underlying classification method or plot functions. |
The actual error rate.
Karsten Luebke, karsten.luebke@fom.de
data(B3) library(MASS) classscatter(PHASEN ~ BSP91JW + EWAJW + LSTKJW, data = B3, method = "lda")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.