Description Usage Arguments Value Author(s) See Also Examples
Return a list of points which linearly interpolate given data points, or a function performing the linear (or constant) interpolation. The interpolation is performed on modulo 2*pi on the x.
1 | approxfun.circular(x, y = NULL, method = "linear", f = 0, ties = mean)
|
x |
an object of class |
y |
a numeric vector |
method |
specifies the interpolation method to be used. Choices
are |
f |
for |
ties |
Handling of tied |
The function approxfun.circular
returns a function performing (linear or
constant) interpolation of the given data points. For a given set of
x
values, this function will return the corresponding
interpolated values.
Claudio Agostinelli
1 2 3 4 |
Attaching package: 'circular'
The following objects are masked from 'package:stats':
sd, var
function (v)
.approxfun(x, y, v, method, yleft, yright, f)
<bytecode: 0x2f9ffa0>
<environment: 0x2fa06b8>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.