By default, Vectors are considered as matrices with one column
rows(a, as.row = FALSE) cols(a, as.row = FALSE) dim.all(a, as.row = FALSE) concatenate(edges.hist, vec.mat, constant = NULL)