Description Usage Arguments Value Examples
View source: R/f0.rbsb1.code.r
Interpolation in the plane: given two points p0=(x0,y0) and p1=(x1,y1) returns the point p=(x,y) such that vector(p0,p) = z*vector(p0,p1) where z is such that the distance between p0 and p is abs(d). Also sign(d) == sign(z)
1 | geom3pointi(x0, y0, x1, y1, d)
|
x0 |
see the description |
y0 |
see the description |
x1 |
see the description |
y1 |
see the description |
d |
see the description |
Returns c(x,y), the interpolated points.
1 | geom3pointi(1, 1, 10, 10, sqrt(2));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.