All FPCA functions in the package refund provide two arguments for data input, Y for a observation matrix observed on a common grid and ydata for irregularly observed data. However, the ydata option is not always available, for example, when using fpca.face. I guess the reason is that the method proposed by Xiao 2016 is only developed for regular data.
According to Xiao 2013 and a more recent paper, Xiao 2020, the bivariate smoothing can also be applied to irregularly observed data. Therefore, I wonder if the fpca.face method can be extended accordingly.
refund/R/fpca.face.R
Line 159 in eb6af5c
All FPCA functions in the package
refundprovide two arguments for data input,Yfor a observation matrix observed on a common grid andydatafor irregularly observed data. However, the ydata option is not always available, for example, when usingfpca.face. I guess the reason is that the method proposed by Xiao 2016 is only developed for regular data.According to Xiao 2013 and a more recent paper, Xiao 2020, the bivariate smoothing can also be applied to irregularly observed data. Therefore, I wonder if the
fpca.facemethod can be extended accordingly.