[Rd] Tiny bug in lm()?

Brett Presnell pre@nell @ending from ufl@edu
Sun Jun 24 14:57:04 CEST 2018


I meant ncol(y) of course.

Brett Presnell <presnell using ufl.edu> writes:

> I suppose that this never affects anything, but in line 57 of lm.R,
> where the coefficients are defined for an empty model, when y is a
> matrix, shouldn't the value be matrix(,0,nrow(y)) rather than
> matrix(,0,3)?



More information about the R-devel mailing list