lin_map | R Documentation |
Map value x
linearly from interval [imin:imax]
to [omax:omax]
.
lin_map(x, imin, imax, omin = 0, omax = 1)
x |
|
imin |
|
imax |
|
omin |
|
omax |
|
numeric()
. Mapped value(s).
lin_map(2, 1, 3) # 0.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.