warp.formula: Warp model formula

View source: R/warp-unwarp.R

warp.formulaR Documentation

Warp model formula

Description

Warp model formula

Usage

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

## S3 method for class 'formula'
unwarp(x, warper, ...)

Arguments

x

Formula object.

warper

Warper object.

...

Not used, ignored with a warning.

Details

Currently only "simple" formulas of the form y ~ x1 + x2 + x3 etc. are allowed - no *, :, s(), I(), ⁠^2⁠ or other operations that are supported by some modeling functions.

Value

The warped formula (e.g., based on principal components), or the unwarped formula (using the original, untransformed variable names).

Functions

  • unwarp.formula: Unwarp a model formula.


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