[R] Delete all dimnames

Sarah Goslee sarah.goslee at gmail.com
Thu Dec 14 15:17:06 CET 2006


On 12/14/06, Serguei Kaniovski <Serguei.Kaniovski at wifo.ac.at> wrote:
> Hello, how can I get rid of all dimnames so that:

> test
  a b c
A 1 4 7
B 2 5 8
C 3 6 9
> dimnames(test) <- list(NULL, NULL)
>  test
     [,1] [,2] [,3]
[1,]    1    4    7
[2,]    2    5    8
[3,]    3    6    9

Sarah

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list