Have you read "An Introduction to R" (ships with R) or made any other minimal effort with a beginning R tutorial to learn the language? Have you read the posting guide or any other previous posts to learn how to post coherently -- a "small, reproducible example" would be helpful, for instance.
It certainly does not appear that you have done either. At present, your query appears unanswerable because we do not know the data structure of your data. Perhaps that is why you have received no replies? I suspect if you go through a tutorial, you will find that what you wish to do is simple. -- Cheers, Bert On Sat, Feb 16, 2013 at 11:50 PM, Tanushree Tunstall <[email protected]> wrote: > , -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm ______________________________________________ [email protected] 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.

