discrproj(x, clvecd, method="dc", clnum=NULL, ignorepoints=FALSE,
ignorenum=0, ...)nrow(xd).TRUE, points with label
ignorenum in clvecd are ignored in the computation for
method and are only projected afterwards onto the resulting
units. If pch=NULL, the ploclvecd. Only has effect if ignorepoints=TRUE, see above.discrproj returns the output of the chosen projection method,
which is a list with at least the components ev, units, proj.
For detailed informations see the help pages of the projection methods.x can be projected onto the projection basis vectors
by x %*% unitsxd onto units.Fukunaga (1990). Introduction to Statistical Pattern Recognition (2nd ed.). Boston: Academic Press.
discrcoord, batcoord,
mvdcoord, adcoord,
awcoord, ncoord,
ancoord. rFace for generation of the example data used below.
set.seed(4634)
face <- rFace(300,dMoNo=2,dNoEy=0,p=3)
grface <- as.integer(attr(face,"grouping"))
discrproj(face,grface, method="nc")$units
discrproj(face,grface, method="wnc")$units
discrproj(face,grface, clnum=1, method="arc")$unitsRun the code above in your browser using DataLab