Set of transformations to use in parallel coordinate plots. All transformation aim for y values in the interval [0,1].

transform_pcp(data, method = "uniminmax")

Arguments

data

data frame as returned by gather_pcp

method

string specifying the method that should be used for scaling the values in a parallel coordinate plot (see Details).

Details

method is a character string that denotes how to scale the variables in the parallel coordinate plot. Options are named in the same way as the options in `ggparcoord` (GGally):

  • std: univariately, subtract mean and divide by standard deviation. To get values into a [0,1] interval we use a linear transformation of f(y) = y/4+0.5.

  • robust: univariately, subtract median and divide by median absolute deviation. To get values into a [0,1] interval we use a linear transformation of f(y) = y/4+0.5.

  • uniminmax: univariately, scale so the minimum of the variable is zero, and the maximum is one

  • globalminmax: gobal scaling; the global maximum is mapped to 1, global minimum across the variables is mapped to 0.