Description Usage Arguments Details Value Author(s) References See Also Examples
Asymmetric neighborhood based discriminant coordinates as defined in Hennig (2003). Asymmetric discriminant projection means that there are two classes, one of which is treated as the homogeneous class (i.e., it should appear homogeneous and separated in the resulting projection) while the other may be heterogeneous. The principle is to maximize the ratio between the projection of a between classes covariance matrix, which is defined by averaging the between classes covariance matrices in the neighborhoods of the points of the homogeneous class and the projection of the covariance matrix within the homogeneous class.
1 
xd 
the data matrix; a numerical object which can be coerced to a matrix. 
clvecd 
integer vector of class numbers; length must equal

clnum 
integer. Number of the homogeneous class. 
nn 
integer. Number of points which belong to the neighborhood of each point (including the point itself). 
method 
one of
"mve", "mcd" or "classical". Covariance matrix used within the
homogeneous class.
"mcd" and "mve" are robust covariance matrices as implemented
in 
countmode 
optional positive integer. Every 
... 
no effect 
The square root of the homogeneous classes covariance matrix
is inverted by use of
tdecomp
, which can be expected to give
reasonable results for singular withinclass covariance matrices.
List with the following components
ev 
eigenvalues in descending order. 
units 
columns are coordinates of projection basis vectors.
New points 
proj 
projections of 
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en/
Hennig, C. (2004) Asymmetric linear dimension reduction for classification. Journal of Computational and Graphical Statistics 13, 930945 .
Hennig, C. (2005) A method for visual cluster validation. In: Weihs, C. and Gaul, W. (eds.): Classification  The Ubiquitous Challenge. Springer, Heidelberg 2005, 153160.
plotcluster
for straight forward discriminant plots.
discrproj
for alternatives.
rFace
for generation of the example data used below.
1 2 3 4 5 6 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.