warp.data.frame | R Documentation |
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.
## S3 method for class 'data.frame'
warp(x, warper, ...)
## S3 method for class 'warped_df'
warp(x, warper, ...)
x |
The object to be transformed, normally a data frame. |
warper |
A |
... |
Additional arguments to be passed to the |
A data frame with features in the transformed (e.g., PCA) space.
warp.warped_df
: Does nothing - warped_df
has already been transformed
unwarp()
for the inverse transformation, and
pca_warper()
for an example of a simple warper function based
on the principal component transformation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.