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 
  1294_at.value 
    0.005091231

 

after I convert the res into a data frame I got the following:

resx<- data.frame(res)
> head(resx)
                        res
1007_s_at.value 0.225801033
1053_at.value   0.009747404
117_at.value    0.709517954
121_at.value    0.008825740
1255_g_at.value 0.496859178
1294_at.value   0.005091231

 

as you may see, the first column of resx has no names and it does not appear as 
one of dimension of data frame. 

I wonder anyone may have solution to assign a name to it. 

 

thanks
                                          
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.

ID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to