edi {Momocs} | R Documentation |
Calculates euclidean intermediate between two points.
Description
edi
simply calculates coordinates of a points at the relative
distance r
on the pt1-pt2
defined by their (x; y) coordinates.
This function is used internally but may be of interest for other analyses.
Usage
edi(pt1, pt2, r = 0.5)
Arguments
pt1 |
|
pt2 |
|
r |
the relative distance from |
Value
returns the (x; y)
interpolated coordinates.
See Also
Examples
edi(c(0,1), c(1,0), r = 0.5)
[Package Momocs version 1.4.1 Index]