Nested functions
I was checking out your function and thinking of trying to make it more efficient when I noticed your comment above.
:-D
Yes, bioinformatics is full of this stuff - have a look at Bioconductor.
I'm about it, but it'll take some time. It's a vast repository... For the meantime, I've attached a graph for clarification ;-) Dashed lines are followed if the test returns FALSE, solid if TRUE. Cheers, John -------------- next part -------------- A non-text attachment was scrubbed... Name: diagramm.ps Type: application/postscript Size: 13108 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060718/d619ac3d/attachment.ps