ancoord(xd, clvecd, clnum=1, nn=50, method="mcd", countmode=1000, ...)nrow(xd).cov.rob. "classical" refers to the ccountmode
algorithm runs ancoord shows a message.x can be projected onto the projection basis vectors
by x %*% unitsxd onto units.tdecomp, which can be expected to give
reasonable results for singular within-class covariance matrices.plotcluster for straight forward discriminant plots.
discrproj for alternatives.
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"))
ancf2 <- ancoord(face,grface==4)
plot(ancf2$proj,col=1+(grface==4))
# ...done in one step by function plotcluster.Run the code above in your browser using DataLab