Re: [R] Writing the output of a regression object to a file

2011-07-20 Thread Hanlie Pretorius
Thanks for the reply. write.table(esvr.pred) worked - I got data out that's been scaled back to its original range of values. 2011/7/19, Bert Gunter : > If I understand you correctly, > > >> I would like to export the esvr.pred object to a file so that I can >> draw a graph of it against my origi

Re: [R] Writing the output of a regression object to a file

2011-07-19 Thread Bert Gunter
If I understand you correctly, > I would like to export the esvr.pred object to a file so that I can > draw a graph of it against my original data in other software that I'm > using. > you cannot do this. You can export **data**, but of course any R "object" is either a binary or text (via dput)

[R] Writing the output of a regression object to a file

2011-07-19 Thread Hanlie Pretorius
Hi, I'm using R 2.12.0 on Windows XP. I've used the e1071 package to tune a Support Vector Regression object and I've created the SVR object: > epsilon.svr <- svm(C8R004 ~.,data = rain_flow.train, scale = T, type = > "eps-regression", + kernel = "radial", cost = 0.9, epsilon=0.55,tolerance=0.00