Displaying 1 result from an estimated 1 matches for "tp4432564p4432564".
2012 Feb 29
1
linear regression by column
...g to vectorize it using *apply*.
For instance, I tried something like:
apply(DF, 1, function(DF){lm(DF[,1] ~ Band1[,2:5])})
But apparently it does not work.
Any help would be greatly appreciated.
Phil
--
View this message in context: http://r.789695.n4.nabble.com/linear-regression-by-column-tp4432564p4432564.html
Sent from the R help mailing list archive at Nabble.com.