TransformParams {ClassifyR} | R Documentation

## Parameters for Data Transformation

### Description

Collects and checks necessary parameters required for transformation. The empty constructor is for when no data transformation is desired. One data transformation function is distributed. See `subtractFromLocation`.

### Constructor

  `TransformParams(transform, intermediate = character(0), ...)` Creates a TransformParams object which stores the function which will do the transformation and parameters that the function will use.

  `transform`

    A function which will do the transformation. The first argument must be a `DataFrame` object.

  `intermediate`

    Character vector. Names of any variables created in prior stages by `runTest` that need to be passed to a feature selection function.

  `...`

    Other named parameters which will be used by the transformation function.

### Author(s)

Dario Strbenac

### Examples

      transformParams <- TransformParams(subtractFromLocation, location = "median")
      # Subtract all values from training set median, to obtain absolute deviations.

[Package ClassifyR version 2.10.0 Index]