Posted By

obi on 08/07/09


Tagged


Versions (?)

running multiple linear regression


 / Published in: R
 

URL: http://www.statmethods.net/stats/regression.html

  1. mydata <- read.delim("C:\\path\\to\\file.txt")
  2. fit <- lm(y ~ x1 + x2 + x3, data=mydata)
  3. summary(fit)

Report this snippet  

You need to login to post a comment.