Skip to content
Prev 259046 / 398502 Next

Using $ accessor in GAM formula

On May 5, 2011, at 1:08 PM, Gene Leynes wrote:

            
I get the same error, but using the standard R approach to passing  
data and formulae to regression functions I have not difficulty:

 > gam(y~s(x), data=dat)

Family: gaussian
Link function: identity

Formula:
y ~ s(x)

Estimated degrees of freedom:
4.1552  total = 5.155229

GCV score: 0.002242771
David Winsemius, MD
West Hartford, CT