Re: [R] assigning a function within a loop

2014-10-29 Thread PIKAL Petr
ailto:r-help-bounces@r- > project.org] On Behalf Of Hanck, Christoph > Sent: Wednesday, October 29, 2014 1:17 PM > To: r-help@r-project.org > Subject: [R] assigning a function within a loop > > Hi, > > I am trying to run several polynomial regressions on simulated data and > pr

[R] assigning a function within a loop

2014-10-29 Thread Hanck, Christoph
Hi, I am trying to run several polynomial regressions on simulated data and produce fitted values with the pol1, pol2 functions (predict produces not so nice plots, see http://www.r-bloggers.com/polynomial-regression-techniques/). Below's a simplified version of what I try to achieve. It seems