Description Usage Arguments Value Examples
View source: R/utils-interpolation.R
Create sinusoidal interpolation based on two values, minv
and
maxv
. The lower and upper bounds/peaks of the function.
1 |
minv |
Numeric value, used as the lower bound. |
maxv |
Numeric value, used as the upper bound. |
period |
Numeric value, period width (e.g. 365 days). |
x |
Numeric value, number of partitions to use. |
phi |
Numeric value, phase shift. |
Numeric vector with the interpolated function. Same length as
x
. Returned invisibly, so it must be assigned to a variable.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.