Hi everyone! I'm new to R, and I'm stuck on a problem I don't know how to approach. I have calculated a regression in the form of M ~ D + O + S, and I would like to take this regression and test it with other samples, 5 at a time(5 meaning 5 set, each consisting M, D, O, and S of a specific date). I assume I'll need a for loop. Right now, My data of M, D, O, and S are all stored in separate txt files, but should I just put them into a table or something? And then how would I calculate the error of how well the test samples fit the original regression? This is for my internship, so it's very urgent. THANKS A LOT!!!!! RBeginner -- View this message in context: http://www.nabble.com/Regression-for-loop-test-HELP%21-URGENT%21-tp24562766p24562766.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.