mgcv 0.9 will handle missing values properly (provided you are happy that dropping them is 'proper'). There is a pre-release version at:
www.stats.gla.ac.uk/~simon/simon/mgcv.html (it is a pre-release version, so there will be bugs, reports of which gratefully received!) simon > Thank you for all the responses on generalized additive models(gam) and > missing values. I am now able set up a model using gam and have a certain > understanding of how R deals with missing values. > > The problem is, however, I am still not able to a gam model that is from a > dataset that contains missing values. > > The function > > C<-gam(depvar~var1+var2+s(var3), data=dataset) > Returns the errors > > Error in na.omit.default() : Argument "object" is missing, with no default > > Again, can anyone help a newbie. > > Tor > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
