Re: [R] GLS "no terms component" error

2008-07-27 Thread mm745
Thank you, Bill. I think I misread some text in my statistics handbook. This has helped to clear it up. Sorry for taking up your time and thank you for replying. M. Grace Quoting [EMAIL PROTECTED]: > The help file for dwtest says > > formula: a symbolic description for the model to be tested (or

[R] GLS "no terms component" error

2008-07-26 Thread mm745
Hi, I want to test for independence in my GLS model fitp2, but when I try to use the dwtest function in the lmtest library, I get the error message "Error in terms.default(formula) : no terms component". The model and data set are below. Any suggestions would be really helpful! Thanks a lot in ad

[R] Problem with GLS dwtest function

2008-07-24 Thread mm745
Hi, I want to test for independence in my GLS model fitp2, but when I try to use the dwtest function in the lmtest library, I get the error message "Error in terms.default(formula) : no terms component". The model and data set are below. Any suggestions would be really helpful! Thanks a lot in ad

[R] "Invalid object" error in boxplot

2008-07-01 Thread mm745
Hi, I'm trying to make a boxplot with the data at the end of the message, and when I try to execute the command >boxplot(Diatoms) (or for any other field instead of "Diatoms") I get the following error message: Error in oldClass(stats) <- cl : adding class "factor" to an invalid object Any adv