Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

infer_transformation

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

Common Utilities for Other MOSAIC-Family Packages

v0.9.0
GPL (>= 2)
Authors
Randall Pruim <rpruim@calvin.edu>, Daniel T. Kaplan <kaplan@macalester.edu>, Nicholas J. Horton <nhorton@amherst.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.