Re: [R] accessing header information in a table

From: Wensui Liu <liuwensui_at_gmail.com>
Date: Wed 06 Apr 2005 - 00:23:02 EST

good catch. you can also get access to both colnames and rownames by dimnames().

On Apr 5, 2005 9:57 AM, Jabez Wilson <jabezwuk@yahoo.co.uk> wrote:
> thank you for your replies
>
> what I really wanted was the individual names, but I think I can get them with
>
> colnames(myTable)[x]
>
> where x is 1:7
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
WenSui Liu, MS MA
Senior Decision Support Analyst
Division of Health Policy and Clinical Effectiveness
Cincinnati Children Hospital Medical Center

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Apr 06 00:28:33 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:01 EST