Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

discr_coords

Discriminant coordinates/canonical variates of tclust objects


Description

Computes the two first discriminant coordinates (canonical coordinates) directly from a tclust object to obtain a graphical representations of cluster solutions in higher dimensional (p > 2) cases.

Usage

discr_coords(x, equal.weights)

Arguments

x

A tclust object.

equal.weights

A logical value, controlling whether the clusters should be considered as equal-sized (TRUE) when combining their covariance structures, or if their actual size shall be considered (FALSE). By default value x$par$equal.weights is assumed

.

Details

The functionality of discr_coords is directly derived from discrcoord as implemented in the package "fpc" by Christian Hennig. It has been adopted in order to directly use the covariance information contained in the tclust-object. The function fails, if "store.x = FALSE" is specified in tclust, because the original data matrix is required here.

Value

A two-dimensional matrix, containing the canonical coordinates of all observations given by the tclust-object.

Author(s)

Agustin Mayo Iscar, Luis Angel Garcia Escudero, Heinrich Fritz

References

Hennig, C. and Christlieb, N. (2002), "Validating visual clusters in large datasets: fixed point clusters of spectral features.", Computational Statistics and Data Analysis Vol.40, 723-739.


tclust

Robust Trimmed Clustering

v1.4-2
GPL-3
Authors
Agustin Mayo Iscar, Luis Angel Garcia Escudero, Heinrich Fritz
Initial release
2020-09-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.