powered by
A symbolic wrapper to indicate a nonparametric term in a formula argument to bsaq, bsaqdpm, bsar, bsardpm, and gbsar.
fs(x)
a vector of the univariate covariate for nonparametric component
if (FALSE) { # fit x using a Fourier basis y ~ w + fs(x) # fit x1 and x2 using a Fourier basis y ~ fs(x1) + fs(x2) }
Run the code above in your browser using DataLab