Learn R Programming

HDoutliers (version 1.0.4)

dataTrans: Data Transformation for Leland Wilkinson's hdoutliers Algorithm

Description

Transforms the data according to the specifications in Wilkinson's hdoutliers algorithm.

Usage

dataTrans(data)

Arguments

data

A vector, matrix, or data frame consisting of numeric and/or categorical variables.

Value

The transformed data, according to Wilkinson's specifications for the hdoutliers algorithm.

Details

Replaces each categorical variables with a numeric variable corresponding to its first component in multiple correspondence analysis, then maps the data to the unit square. There is no porvision for handling missing data. Functions HDoutliers and getHDoutliers apply this transformation to their input data.

References

Wilkinson, L. (2016). Visualizing Outliers.

See Also

HDoutliers, getHDoutliers

Examples

Run this code
# NOT RUN {
 require(FactoMineR)
 data(tea)
 head(tea)
 dataTrans(tea[,-1])
# }

Run the code above in your browser using DataLab