Displaying 1 result from an estimated 1 matches for "tp17708207p17708207".
2008 Jun 07
2
Using lm with a matrix?
...os) : object "y" not found
> lrg <- lm(ydat~xdat)
> lrg
Call:
lm(formula = ydat ~ xdat)
Coefficients:
[,1] [,2]
(Intercept) 2 9
xdat1 3 4
xdat2 NA NA
--
View this message in context: http://www.nabble.com/Using-lm-with-a-matrix--tp17708207p17708207.html
Sent from the R help mailing list archive at Nabble.com.