Re: [R] apply family functions (tapply, sapply, mapply etc)

2011-07-08 Thread Uwe Ligges
On 07.07.2011 20:30, Dimitris.Kapetanakis wrote: Dear all, I am trying to use apply or similar functions in order to improve the efficiency of my code but I guess I am misunderstanding the function of these commands. What I want to do is possible to see with the following code that I use a for

[R] apply family functions (tapply, sapply, mapply etc)

2011-07-07 Thread Dimitris.Kapetanakis
Dear all, I am trying to use apply or similar functions in order to improve the efficiency of my code but I guess I am misunderstanding the function of these commands. What I want to do is possible to see with the following code that I use a for loop command. In words what I want to do are two thi