Re: [R] update not working

2011-02-02 Thread Ista Zahn
Hi Luis, Well, when I copied your code I discovered that On Wed, Feb 2, 2011 at 9:42 AM, Luis Ridao wrote: > R-help, > > I'm using the "update" command for a multiple regression model and it is > just not working: > >> update(model1, . ~ . – temp:wind:rad,data=ozone.pollution)

[R] update not working

2011-02-02 Thread Luis Ridao
R-help, I'm using the "update" command for a multiple regression model and it is just not working: > update(model1, . ~ . – temp:wind:rad,data=ozone.pollution) Error: unexpected input in "model2<-update(model1, . ~ . –" > summary(model1) Call: lm(formula = ozone ~ temp * wind * rad + I(rad^2) +