/ Published in: R
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mydata <- read.delim("C:\\path\\to\\file.txt") fit <- lm(y ~ x1 + x2 + x3, data=mydata) summary(fit)
URL: http://www.statmethods.net/stats/regression.html