Thanks!
You are awesome! I am not sure I follow everything, but I am trying!
AG
--
View this message in context:
http://r.789695.n4.nabble.com/automating-regression-or-correlations-for-many-variables-tp3426091p3426887.html
Sent from the R help mailing list archive at Nabble.com.
__
Thanks!
I must confess I am just a beginner, but I followed your suggestion and did
'm <- lm(as.matrix(snp[, -1]) ~ lat, data = snp) ' and it worked perfectly.
I would like to understand what is being done here. as.matrix I understand
makes my data frame be a matrix, but I don't understand the pa
Dear All,
I have a large data frame with 10 rows and 82 columns. I want to apply the
same function to all of the columns with a single command. e.g. zl <- lm
(snp$a_109909 ~ snp$lat) will fit a linear model to the values in lat and
a_109909. What I want to do is fit linear models for the values i
3 matches
Mail list logo