Karsten, I have a function which might be too simple, but could be modified to what you requested. It is called "xtab" and appears to run okay on my version of R (0.61.2). The tar.gz file includes text coding for "xtab" and "padding" which is called. I set up empty functions and read the text code into the editor, although there is probably a better way. Hope it helps. Jim -------------- next part -------------- A non-text attachment was scrubbed... Name: xtab.tar.gz Type: application/x-gzip Size: 1579 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/19981021/837491f7/xtab.tar.gz