Re: [R] Simplify the code

2010-02-11 Thread li li
Thank you for your reply. I was just trying to make the code less complicated. I got your point. Thanks! 2010/2/11 Petr PIKAL > Hi > > I did not see the answer yet, probably nobody is much interested in such > function, so I will try. > > r-help-boun...@r-project.org napsal dne 10.02.2010 21:57:

[R] Simplify the code

2010-02-10 Thread li li
Hi all, I wrote the following code for the function that is attached. I want to simply the code. Can some one give me some help? The function is attached and the following is the code: ## f1 is the function calculate the valu