plotcluster(x, clvecd, clnum=1,
method=ifelse(identical(range(as.integer(clvecd)),
as.integer(c(0,1))),"awc","dc"),
bw=FALSE, xlab=NULL, ylab=NULL,
pch=NULL, col=NULL, ...)nrow(xd).clnum is ignored for methods "dc" and "nc".TRUE, the classes are distinguished by
symbols, and the default color is black/white.
If FALSE, the classes are distinguished by
colors, and the default symbol is pch=1.NULL, a default text is used.NULL, a default text is used.par.
If NULL, the default is used.par.
If NULL, the default is used.plot or the
projection methods.Fukunaga (1990). Introduction to Statistical Pattern Recognition (2nd ed.). Boston: Academic Press.
discrcoord, batcoord,
mvdcoord, adcoord,
awcoord, ncoord,
ancoord. discrproj is an interface to all these projection methods.
rFace for generation of the example data used below.
set.seed(4634)
face <- rFace(600,dMoNo=2,dNoEy=0)
grface <- as.integer(attr(face,"grouping"))
plotcluster(face,grface)
plotcluster(face,grface==1)Run the code above in your browser using DataLab