# mean function is often removed in the functional principal component analysis.
# trimmed mean function is sometimes employed for robustness in the presence of outliers.
# In calculating trimmed mean function, several functional depth measures were employed.
centre(x = ElNino$y, type = "mean")
Run the code above in your browser using DataLab