linear models
Friedrich Leisch
Friedrich.Leisch@ci.tuwien.ac.at
Thu, 5 Feb 1998 18:05:11 +0100
>>>>> On Thu, 5 Feb 1998 10:49:46 +0100,
>>>>> Kurt Hornik (KH) wrote:
>>>>> Andreas Weingessel writes:
>> How can I use linear model regression for more than 1 dependent (response)
>> variable?
>> In S it is possible to do something like
S> x<-matrix(rnorm(300),100,3)
S> lm(x[,1:2]~x[,3])
>> to get
KH> The problem is the final line
KH> dimnames(z$effects)[1] <- list(NULL)
KH> in the multivariate version of lm.fit().
KH> I think this used to work for some time, but now does neither in 0.61.1
KH> nor in 0.62.
KH> Could we replace the line by
KH> rownames(z$effects) <- NULL
KH> ?
As it seems to work I've committed the change.
.f
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._