Re: [R] error code trying to extract second column from coeftest output

2012-05-17 Thread Petr PIKAL
Hi > > I want to use the standard error values in the summary that is produced using > coeftest, but I am getting an error code- any ideas? See what is structure of coeftest object by str(coeftest(lmodT_WBHO)) and from this you shall deduct how to select second column. Regards Petr > > >

Re: [R] error code trying to extract second column from coeftest output

2012-05-16 Thread Jeff Newmiller
I recommend that you troubleshoot your own problem using the str function... for example, str( coeftest(lmodT_WBHO)). The error message is not a "code"... it is perfectly readable English, and it is telling you that the result of calling coeftest is not a list with parts that can be pulled out u

[R] error code trying to extract second column from coeftest output

2012-05-16 Thread rl269
I want to use the standard error values in the summary that is produced using coeftest, but I am getting an error code- any ideas? > library(lmtest) > coeftest(lmodT_WBHO) t test of coefficients: Estimate Std. Error t value Pr(>|t|) t1W 5.948190.17072 34.8410 < 2.2e-16 *** t2W 6.5