[R] How to retrieve data frame column names?

Song, Guangchun Guangchun.Song at stjude.org
Tue May 13 18:24:15 CEST 2003


Dear R-users/helpers,

Does anyone tell me how to retrieve the data frame column names?

I'm working on coxph model to analyze survival data of Affy DNA chips.

I get the coxph coef p-value for each probe and want output the probe name
with the p-value.  The probe names are the data frame column names.

How can I do this?

Thanks for your help.

Guangchun




More information about the R-help mailing list