fit_mean {elasdics}  R Documentation 
Fits an elastic mean for open curves. Is usually called from
compute_elastic_mean
.
fit_mean(srv_data_curves, knots, max_iter, type, eps)
srv_data_curves 
list of 
knots 
set of knots for the mean spline curve 
max_iter 
maximal number of iterations 
type 
if "smooth" linear srvsplines are used which results in a differentiable mean curve if "polygon" the mean will be piecewise linear. 
eps 
the algorithm stops if L2 norm of coefficients changes less 
a list
with entries
type 
"smooth" or "polygon" 
coefs 

knots 
spline knots 
t_optims 
optimal parametrization 