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

Fraction

Selection of a fraction of the data


Description

Selects a percentage of the data eliminating the observations with higher Mahalanobis distances to the center.

Usage

Fraction(data, confidence = 1)

Arguments

data

Two dimensional data set

confidence

Percentage to retain. (0-1)

Details

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.

Value

An object of class fraction with the following fields

data

The originaldata

fraction

The selected data

confidence

The percentage selected

Author(s)

Jose Luis Vicente Villardon

References

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.

See Also

Examples

a=matrix(runif(50), 25,2)
a2=Fraction(a, 0.7)

MultBiplotR

Multivariate Analysis Using Biplots in R

v1.3.30
GPL (>= 2)
Authors
Jose Luis Vicente-Villardon
Initial release
2021-03-30

We don't support your browser anymore

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