Thank you very much, folks. I had read the paper "Introduction to R" but sometimes I had problems with the examples. Now I can solve all my problems with the help of your ideas. Thanks, Corinna