This caught my eye way late and only because of the Apple Mail random-scrollbag
bug!
However it is still not fixed in 3.5.0 and as you say, it should be easy.
(Notice that you need to look at the last SO responses, the first 4 are
useless...)
The cause of the trouble seems to be that if decrea
Dear maintainers,
I'm reporting a bug in qr.coef that mishandles the colnames of matrix. A
minimal reproducible example is as follows:
x <- cbind(rep(0, 10), rep(0, 10))
y <- rep(0, 10)
q <- qr.default(x)
qr.coef(q, y)
[1] NA NA
If x has colnames, then qr.coef will end up with an error:
x <- c