Re: [R] names over names

From: Jim Lemon <>
Date: Wed, 20 Jun 2007 21:53:55 +1000

elyakhlifi mustapha wrote:
> Hello,
> I wonder if it's possible to put names above column names.
> Do you know if it's possible?

If you mean something like this:

Monday	Tuesday	Wednesday Thursday Friday

and you want it to be part of the data frame:


This will not just appear when you print the data frame, you would have to access the "supername" like this:


[1] "Weekdays"

However, I suspect that whatever you are trying to accomplish can be done in a more straightforward way.

Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 20 Jun 2007 - 11:55:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 20 Jun 2007 - 12:32:18 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.