Description Usage Arguments Value See Also Examples
general_MT
is a (higherorder) general function that generates a unit
space for a family of MahalanobisTaguchi (MT) methods. Each MT method can
be implemented by setting the parameters of this function appropriately.
1 2  general_MT(unit_space_data, calc_A, generates_transform_function,
includes_transformed_data = FALSE)

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. 
calc_A 
Function that returns A in a quadratic form x'Ax. 
generates_transform_function 
Function that takes 
includes_transformed_data 
If 
A list containing the following components is returned.
A 
q x q matrix calculated by 
calc_A 
Function passed by 
transforms_data 
Data transformation function generated from

distance 
Vector with length n. Distances from the unit space to each sample. 
n 
The number of samples. 
q 
The number of independent variables after the data transformation. According to the data transoformation function, q may be equal to p. 
x 
If 
1 2 3 4 5 6 7 8 9 10 11  # 40 data for versicolor in the iris dataset
iris_versicolor < iris[61:100, 5]
# The following settings are same as the MT method.
unit_space < general_MT(unit_space_data = iris_versicolor,
generates_transform_function =
generates_normalization_function,
calc_A = function(x) solve(cor(x)),
includes_transformed_data = TRUE)
(unit_space$distance)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.