warp.data.frame: Transform data from feature space into a transformed space

View source: R/warp-unwarp.R

warp.data.frameR Documentation

Transform data from feature space into a transformed space

Description

warp methods apply the transformation T to data in feature space - the result is, for example, the principal components representation of the data, if a pca_warper is used.

Usage

## S3 method for class 'data.frame'
warp(x, warper, ...)

## S3 method for class 'warped_df'
warp(x, warper, ...)

Arguments

x

The object to be transformed, normally a data frame.

warper

A warper object as, for example, created by pca_warper() for principal components transformations.

...

Additional arguments to be passed to the warp method.

Value

A data frame with features in the transformed (e.g., PCA) space.

Functions

  • warp.warped_df: Does nothing - warped_df has already been transformed

See Also

unwarp() for the inverse transformation, and pca_warper() for an example of a simple warper function based on the principal component transformation.


alexanderbrenning/wiml documentation built on Sept. 29, 2023, 4:45 a.m.