[R] Comparing formulas

Jeff Breiwick Jeff.Breiwick at noaa.gov
Thu Apr 24 00:03:51 CEST 2003


Dear All,

I want to compare formulas resulting from using stepAIC() on glm() objects.
I have 2 different formulas, say F1 and F2, which consist of about 10
factors (Y~A+B+C+...) but one has an interaction term (A:B) while the other
doesn't. But when I perform F1==F2 it comes back as TRUE. Is there a proper
way to compare formulas? 

-------------------------------------------
Jeffrey M Breiwick, Ph.D.
National Marine Mammal Lab., AFSC, NOAA
7600 Sand Point Way NE, Bldg. 4
Seattle, Washington 98115    USA



More information about the R-help mailing list