[R] how to name the column after converting a vector to a data frame

2010-05-03 Thread wei x1
hell all: I have a vector as follows: head(res) 1007_s_at.value 1053_at.value117_at.value121_at.value 1255_g_at.value 0.225801033 0.009747404 0.709517954 0.008825740 0.496859178 1294_at.value 0.005091231 after I convert the res into a data frame I got

Re: [R] how to name the column after converting a vector to a data frame

2010-05-03 Thread Barry Rowlingson
On Mon, May 3, 2010 at 7:21 PM, wei x1 weix1_2...@hotmail.com wrote: hell all: I have a vector as follows: head(res) 1007_s_at.value   1053_at.value    117_at.value    121_at.value 1255_g_at.value    0.225801033     0.009747404     0.709517954     0.008825740     0.496859178