On Jan 30, 2010, at 4:38 PM, Brad Patrick Schneid wrote: > > You rock! > thank you.. you saved me hours of hunting around. > -- You should read the r-help list more often. Gabor Grothendieck gave an example of the use of xtabs() this very morning. David Winsemius, MD Heritage Laboratories West Hartford, CT