Thanks for your answer but do you have a solution using the function ? I need to you use the data frame with a function (not the one given). Thanks in advance again. Ptit Bleu. -- View this message in context: http://r.789695.n4.nabble.com/Still-confused-with-lapply-tp3050414p3050455.html Sent from the R help mailing list archive at Nabble.com.