Row names & column names in R
Do the following function pairs generate exactly the same results? Pair 1) names() & colnames() Pair 2) rownames() & row.names() ...
Do the following function pairs generate exactly the same results? Pair 1) names() & colnames() Pair 2) rownames() & row.names() ...
Let's say I have created the following matrix: > x <- matrix(1:20000,nrow=100) > x[1:10,1:10] [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 1 101 201 301 401 501 601 701 801 901 [2,] 2 102 202 302 402 502 602 702 802 902 [3,] 3 103 203 303 403 503 603 703 803 903 [4,] 4 104 ...