Thank you all for your responses, the lapply works perfectly. The
example I gave IS odd. I only realized after I posted that tt had 5
rows and should have only had 3, so I apologize for that (I initially
had X to have 5 list elements).

Bert, I tend to use for loops in excess and often unnecessarily, so I
am trying to learn to code without the mental crutch that for loops
solve all problems.
Thanks again,
Tina

______________________________________________
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