Description Usage Arguments Details Value See Also
View source: R/auxiliary-convert.R
The resulting function linearly scales the input and passes it to the original function.
1 | convertSide(f, x1, x2)
|
f |
a function defined on [x1,x2] |
x1 |
numeric vector of length 1; if longer, only the first element is used |
x2 |
numeric vector of length 1; if longer, only the first element is used |
The function works for x1<x2 and x1>x2.
Returns a new function defined on [0,1] (scaled input).
Other auxiliary:
approxInvert()
,
convertAlpha()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.