Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

remove name of a column

M
      a b c
1[1,] 1 4 7
2[2,] 2 5 8
3[3,] 3 6 9

row.names(M)<- NULL ; colnames(M)<- NULL
M

     [,1] [,2] [,3]
[1,]    1    4    7
[2,]    2    5    8
[3,]    3    6    9
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #column
ADD COMMENT
Topic
Name
9+4 =