Skip to content
Prev 154903 / 398503 Next

request: How to get column name

on 09/03/2008 10:34 AM Chuck Cleland wrote:
Another (column-wise) approach to this would be:

x <- c(3,3,3,3,0,0,0,0,5,5,5,5,8,8,8,8)
x <- matrix(x, nrow=4)
[1] 2


x <- c(3,3,3,3,1,-1,1,-1,5,5,5,5,8,8,8,8)
x <- matrix(x, nrow=4)
integer(0)


HTH,

Marc Schwartz