From pre@nell @ending from ufl@edu  Sun Jun 24 14:57:04 2018
From: pre@nell @ending from ufl@edu (Brett Presnell)
Date: Sun, 24 Jun 2018 13:57:04 +0100
Subject: [Rd] Tiny bug in lm()?
In-Reply-To: <87in68cuyp.fsf@ufl.edu>
References: <87in68cuyp.fsf@ufl.edu>
Message-ID: <87h8lscpgf.fsf@ufl.edu>


I meant ncol(y) of course.

Brett Presnell <presnell at 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)?



[Rd] Tiny bug in lm()?
Brett Presnell