Dear UseRs,
I wrote following function in order to solve Data Envelopment Analysis.
Reason for posting is that the function is slow when nrow(dat) is large.
I wonder if other functions could substitute the for() loop in the
code, such as mapply().
Can anybody help to rewrite the dea() function
One of the things that you should do is to use Rprof to see where time
is being spent. I would guess that is the not the 'for' loop, but
instead what is being done inside it. My guess it that most of the
time is being spent in the number of times that 'lp' is being called.
So the real problem
On 10/10/2007 2:03 PM, Alberto Monteiro wrote:
Jim Holtman wrote:
One of the things that you should do is to use Rprof
to see where time is being spent.
Rprof is great! I didn't know such functionality existed.
But I am a very destructive user; I think I found a way
to break Rprof: if I
3 matches
Mail list logo