Fraction | R Documentation |
Selects a percentage of the data eliminating the observations with higher Mahalanobis distances to the center.
Fraction(data, confidence = 1)
data |
Two dimensional data set |
confidence |
Percentage to retain. (0-1) |
The function is used to select a fraction of the data to be plotted for example when clusters are used. The function eliminates the extreme values.
An object of class fraction
with the following fields
data |
The originaldata |
fraction |
The selected data |
confidence |
The percentage selected |
Jose Luis Vicente Villardon
Meulman, J. J., & Heiser, W. J. (1983). The display of bootstrap solutions in multidimensional scaling. Murray Hill, NJ: Bell Laboratories.
Linting, M., Meulman, J. J., Groenen, P. J., & Van der Kooij, A. J. (2007). Stability of nonlinear principal components analysis: An empirical study using the balanced bootstrap. Psychological Methods, 12(3), 359.
ConcEllipse
, AddCluster2Biplot
a=matrix(runif(50), 25,2)
a2=Fraction(a, 0.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.