Re: [R] Odp: Still confused with lapply

2010-11-19 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 19.11.2010 16:58:01: > PtitBleu > > Hello Petr, > > Your solution works well with my example. > But with the function I want to use (which calls another functions), I still > have errors. > I have to work on it again (but only on monday). > > Again

Re: [R] Odp: Still confused with lapply

2010-11-19 Thread PtitBleu
Hello Petr, Your solution works well with my example. But with the function I want to use (which calls another functions), I still have errors. I have to work on it again (but only on monday). Again thank you, Ptit Bleu. PS : I have access to all the functions but I don't want to modify all of

[R] Odp: Still confused with lapply

2010-11-19 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 19.11.2010 15:41:08: > > Hello, > > I would like to replace a for loop with lapply in order to speed up the > treatment of my data (I've read lapply can help to do it). Not exactly. For loop if correctly written can be as quick as lapply. See P.Burns