I'm running R 2.8.0 under Fedora 8 (32-bit). I installed the gam package. I can fit gam models, but I get error messages when I try to use step.gam and plot.gam, even for examples:
> library(gam) > ?plot.gam > data(gam.data) > gam.object <- gam(y ~ s(x,6) + z,data=gam.data) > plot(gam.object,se=TRUE) Error in dim(data) <- dim : attempt to set an attribute on NULL summary(gam.object) appears to work OK. The same thing happens if I use my own data and model. Package: gam Title: Generalized Additive Models Date: 2008-05-28 Version: 1.0 I was able to get step.gam to work on its example but it doesn't work on my model. Has anyone else run into this? Rick B. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.