RE: [R] anova with gam?

2005-04-08 Thread John Fox
-9140x23604 http://socserv.mcmaster.ca/jfox > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bill Shipley > Sent: Friday, April 08, 2005 8:31 AM > To: R help list > Subject: [R] anova with gam? > > H

[R] anova with gam?

2005-04-08 Thread Bill Shipley
Hello. In SPLUS I am used to comparing nested models in gam using the anova function. When I tried this in R this doesn't work (the error message says that anova() doesn't recognise the gam fit). What must I do to use anova with gam? To be clear, I want to do the following: fFit1<-gam(y~x,.) f