[R] accessing header information in a table

Wensui Liu liuwensui at gmail.com
Tue Apr 5 16:23:02 CEST 2005


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

On Apr 5, 2005 9:57 AM, Jabez Wilson <jabezwuk at 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
> 
>         [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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




More information about the R-help mailing list