On Nov 19, 2010, at 10:00 AM, PtitBleu wrote:


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).

I do not think lapply is the *apply you want. since it will individually access the columns and you appear to want row operations. See if apply(..., 1, fctest) works better. (Since you Nabble users often don't include context, I can't check spelling in this post, but ISTR your function's name is something like that.)


Thanks in advance again.
Ptit Bleu.
--
View this message in context: 
http://r.789695.n4.nabble.com/Still-confused-with-lapply-tp3050414p3050455.html


David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to