Skip to content
Prev 22862 / 63424 Next

inconsistency or bug in coef() (PR#9358)

it doesn't appear to be a bug for me, given that one of your  
coefficients is NA due to linear dependencies on your design matrix.

i prefer to think of it as a feature :-) (show only the coefficients  
for the variables that do not show linear dependencies).

x=1:5
y=c(1:3, 7, 6)
fit=lm(y~x)
coef(fit)
coef(summary(fit))

b
On Nov 12, 2006, at 11:28 PM, rmh at temple.edu wrote: