[R] How to retrieve data frame column names?

Song, Guangchun
Tue, 13 May 2003 16:24:15 -0000

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