Re: [R] Strange error

2015-12-04 Thread Nicolae Doban
ct multiple lines, the garbage > bytes come along for the ride. Since you seem to be using Windows, try > Notepad (text editor) for an external editor as it is usually better > behaved. The final error is the result of not having read the data into GWS. > > Jim > > On Thu, Dec 3

[R] Strange error

2015-12-03 Thread Nicolae Doban
Hi, recently I received a strange error after running my code in chunks. But, I don't get any errors when I run it line by line. Also, what is strange is that the error message is misspelled This is the error messages I get *> setwd("H:/XX/XXX")* *"rror: unexpected input in "setwd("H:/XX/XXX")

[R] rminer package

2015-05-13 Thread Nicolae Doban
Hello, I googled and looked on r-bloggers website for how to plot several REC curves (rminer package) on the same plotting area but couldn't find anything useful. I want to compare several regression (not logic regression and not classification) predictive models analyzing the REC curves and the e

[R] Cross-Validate a Multivariate Polynomial Regression with K-folds

2015-04-29 Thread Nicolae Doban
Hi, could you tell me please which is the fastest and most accurate way/algorithm/code of cross-validating a Multivariate Polynomial Regression with K-folds? I have a dataframe of 5 input variables and I want to predict one output variable. Every variable features a different power for which the e

[R] A simple For-Loop doesn't work

2015-03-14 Thread Nicolae Doban
Hello, my name is Nick and I'm working on a project. I'm having trouble with building a simple for-loop. In this loop I want to read csv files, perform a corr function and save it to a pdf file. I tried to solve this problem by looking for solutions online but couldn't figure it out. Could you als