Hi all, I'm a new user of R gam() function. I am wondering how do we decide on the smooth function to use? The general form is gam(y~s(x1,df=i)+s(x2,df=j).......) , how do we decide on the degree freedom to use for each smoother, and if we shold apply smoother to each attribute? Thanks!!