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.


elastes documentation built on Aug. 21, 2023, 5:12 p.m.