Calculate the polygon length of a curve
Usage
get_polygon_length(curve)
Arguments
- curve
a data.frame with observed points in each row. Each
variable is one coordinate direction. If there is a variable t,
t_optim or id, it is treated as the time parametrization, not
as an additional coordinate.
Value
The length of curve, treating it as a polygon.