Skip to contents

Compute the geometric median (L1 median) of functional data using Weiszfeld's algorithm The geometric median minimizes sum of L2 distances to all curves

Usage

geometric_median_1d(data, argvals, max_iter, tol)