Abstract
For tting penalized Fourier regression, Wu (2013) provide some R-functions in the settings of univariate nonparametric regression, partial linear models, additive models, and nonparametric logistic and Poisson regression. We improve these functions to follow the R-function format so that users could apply generic R-functions summary, plot, lines, fitted, predict, and residuals. In addition, we write some R-function to select penalty parameters by AICc or BIC. Some data examples are used to illustrate our R-functions. A small simulation study is conducted to compare the penalized Fourier to spline approaches.