On Mon, 2010-03-22 at 16:52 -0600, tpl...@cybermesa.com wrote:
> what's the output of:
> > summary(r$individual[[2]])$coef
>
> my question was basically whether you were doing
> summary(r$individual[[2]])$coef
> or
> r$individual[[2]]$coef
>
> (the second was what you appeared to be doing from yo
On Mon, 2010-03-22 at 16:30 -0600, tpl...@cybermesa.com wrote:
> Are you sure you're extracting the coefficients component of the summary
> object and not the lm object?
>
> Seems to work ok for me:
> > xm <- lm(y ~ x, data=data.frame(y=rnorm(20), x=rnorm(2)))
> > summary(xm)$coefficients
>
summary(x), where x is the output of lm, produces the expectedd display,
including standard errors of the coefficients.
summary(x)$coefficients produces a vector (x is r$individual[[2]]):
> r$individual[[2]]$coefficients
tX(Intercept)tXcigspmkrtXpeldtXsmkprevemn
-2.4491