MTA: Function to generate a unit space for the Mahalanobis-Taguchi...

Description Usage Arguments Value References See Also Examples

View source: R/MTA.R

Description

MTA generates a unit space for the Mahalanobis-Taguchi Adjoint (MTA) method. In general_MT, cofactor matrix is used for A and the data are normalized based on unit_space_data.

Usage

1
MTA(unit_space_data, includes_transformed_data = FALSE)

Arguments

unit_space_data

Matrix with n rows (samples) and p columns (variables). Data to generate the unit space. All data should be continuous values and should not have missing values.

includes_transformed_data

If TRUE, then the transformed data are included in a return object.

Value

MTA returns an object of S3 class "MTA". An object of class "MTA" is a list containing the following components:

A

p x p (q x q) matrix. Cofactor matrix of unit_space_data (the transformed data).

calc_A

calc_cofactor.

transforms_data

Function to be generated from the generates_normalization_function based on the unit_space_data.

distance

Vector with length n. Distances from the unit space to each sample.

n

The number of samples.

q

The number of variables after the data transformation. q equals p.

x

If includes_transformed_data is TRUE, then the transformed data are included.

References

Taguchi, G. & Kanetaka, T. (2002). Engineering Technical Development in MT System - Lecture on Applied Quality. Japanese Standards Association. (In Japanese)

Taguchi, G., & Jugulum, R. (2002). The Mahalanobis-Taguchi strategy: A pattern technology system. John Wiley & Sons.

See Also

calc_cofactor, general_MT, generates_normalization_function, and diagnosis.MT

Examples

1
2
3
4
5
6
7
# 40 data for versicolor in the iris dataset
iris_versicolor <- iris[61:100, -5]

unit_space_MTA <- MTA(unit_space_data = iris_versicolor,
                      includes_transformed_data = TRUE)

(unit_space_MTA$distance)

okayaa/MTSYS documentation built on March 22, 2021, 10:45 a.m.