Skip to contents

Sets the transformation functions for a `feature_data` object.

Usage

set_transformations(object, fun_transform = NULL, fun_inverse = NULL)

# S4 method for class 'feature_data'
set_transformations(object, fun_transform = NULL, fun_inverse = NULL)

Arguments

object

A `feature_data` object.

fun_transform

A named list of functions to apply to the data. T he names should correspond to the columns, and the values should be the functions.

fun_inverse

A named list of functions representing the inverse transformations. The structure should be the same as `fun_transform`.

Value

A `feature_data` object with the updated transformation functions.

Methods (by class)

  • set_transformations(feature_data): Method for setting transformations in a `feature_data` object.