These are R codes that implements the method described in:
Nonparametric trend estimation in functional time series with application to annual mortality rates by Martínez-Hernández, I., and Genton, M. G. (2020)
To see an example of the method, run Example.R.
If you encounter any error(s) using the functions, please send an e-mail to i.martinezhernandez@lancaster.ac.uk