Description Usage Arguments Value Examples
Create 4 interpolated points between each pair of given values. With the ordinary method, the given data points given will be included unchanged in the interpolated list. With the modified method, some smoothing occurs, and only the first and last points given are guaranteed to appear unchanged in the interpolated list.
1 2 3 |
points |
A list of at least 6 numbers, eg, populations over time. |
A list with four extra interpolated points between each pair of given points.
1 2 3 4 | # Interpolate population of UK (1950, 1955, 1960, 1965, 1970, 1975) to yearly points
beers_int_ordinary(c(50616014, 51123707, 52433157, 54303107, 55634935, 56211947))
beers_int_modified(c(50616014, 51123707, 52433157, 54303107, 55634935, 56211947))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.