get_center: Calculate the center of a curve

View source: R/utils.R

get_centerR Documentation

Calculate the center of a curve

Description

Calculate the center of a curve

Usage

get_center(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 average of observed points in curve.


mpff/elastes documentation built on Aug. 27, 2023, 4:43 a.m.