col(x, as.factor=FALSE)
as.factor is FALSE, col takes a matrix as argument
and returns an integer matrix with the same dimensions and whose
ij-th element is equal to j.
If as.factor is TRUE, col the value is returned
as a factor with levels labelled by the column names of x.