Skip to contents

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.