lerp | R Documentation |
Linear interpolation of a value
lerp(x, min, max)
min |
numeric. Minimum of the desired range. |
max |
numeric. Maximum of the desired range. |
x. |
numeric. Normalized input value to be transformed. Value must be between 0-1. |
Value of x within the desired range given by min, max.
lerp(c(0.1, 0.25, 0.5, 0.75), min = 0, max = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.