Skip to content
Prev 171636 / 398506 Next

RE : RE : multiple regressions on columns

of course ! that was so obvious I didn't see it...
thanks very much and sorry for the bother

David Gouache
ARVALIS - Institut du v?g?tal
Station de La Mini?re
78280 Guyancourt
Tel: 01.30.12.96.22 / Port: 06.86.08.94.32


-----Message d'origine-----
De?: Petr PIKAL [mailto:petr.pikal at precheza.cz] 
Envoy??: mercredi 25 f?vrier 2009 10:09
??: GOUACHE David
Cc?: r-help at stat.math.ethz.ch
Objet?: Odp: [R] RE : multiple regressions on columns

Hi

If you do not insist on matrix and use data frame instead

lapply(iris4,function(x) lm(iris$Sepal.Length~x))

can do it

Regards
Petr

r-help-bounces at r-project.org napsal dne 25.02.2009 09:56:25:
what I'm
predictor.
in my
Yi~x
objective
spans all
MASS
more).
are
not.
http://www.R-project.org/posting-guide.html