search for: mathgurl

Displaying 1 result from an estimated 1 matches for "mathgurl".

2008 Dec 28
2
how to generalize the arguments for lm() (r-help@lists.R-project.org)
Hello, How could I generalize the following statement for an arbitrary number of columns instead of 7? result[[i]]<-lm( returns[,i] ~ factors[,1] + factors[,2] + factors[,3] + factors[,4] + factors[,5] + factors[,6] + factors[,7] ) Thank you, Mathgurl [[alternative HTML version deleted]]