Initialize the list with the first vector, instead of an emtry list, if you can.
Andy > From: Patrick Meyer > > Thank you Gabor. > > But I have a problem with the beginning of my algorithm, > where the list > you call L is empty... then the code breaks down... It says: > > "Error in any(...,na.rm = na.rm) : incorrect argument type" > > How can I handle this? > > Thank you very much for your help > > Patrick > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html