This function performs the estimation of the mean of a set of curves using smoothing splines.
mean_ss(curves, grid)
List, where each element represents a curve. Each curve have to be defined as a list with two entries:
$t Sampling points
$x Observed points.
Vector, sampling points at which estimate the mean.
Vector representing the mean curve.
Cai T., Yuan M. (2011) - Optimal Estimation of the mean function based on discretely sampled functional data: phase transition, The Annals of Statistics