infer_transformation: Infer a Back-Transformation

View source: R/infer-transformation.R

infer_transformationR Documentation

Infer a Back-Transformation

Description

For a handful of transformations on y, infer the reverse transformation. If the transformation is not recognized, return the identity function. This is primarily intended to be used for setting a default value in other functions.

Usage

infer_transformation(formula, warn = TRUE)

Arguments

formula

A formula as used by, for example, lm().

warn

A logical.

Value

A function.


mosaicCore documentation built on Nov. 5, 2023, 9:06 a.m.