format_values function

format_values

format_values

returns formatted input. If specified, the uncalibrated input is mapped to the [0;1] range using scaling (scale_me) or transforming (transform_me)

format_values(cases, control, input, min = NULL, max = NULL, mean = NULL)

Arguments

  • cases: instances from class 1
  • control: instances from class 0
  • input: single integer (0, 1 or 2). specify if the input should be formatted (=0), formatted and scaled (=1) or formatted and transformed (=2)
  • min: min value of the original data set, default=calculated on input
  • max: max value of the original data set, default=calculated on input
  • mean: mean value of the original data set, default=calculated on input

Returns

list object with the following components: - formated_values: formatted input. If input is set to 1 (2), the input is additionally scaled (transformed) using the method scale_me (transform_me)

  • min: minimum value among all instances

  • max: maximum value among all instances

  • mean: mean value among all instances

  • Maintainer: Dominik Heider
  • License: LGPL-3
  • Last published: 2019-08-19

Useful links