Skip to content

regression on a matrix

1 message · Liaw, Andy

#
Yes, but ?lm.fit says y has to be a vector, while ?lsfit says y can be a
matrix.  If lm.fit can handle y as a matrix, its help page should be
updated.

Andy