powered by
Calculate the dimension of matrix
matrix2no(matrix = c(1, 1, 1, 0, 0, 1))
a numeric vector
matrix2no(c(1,1,1,0,0,1))
Run the code above in your browser using DataLab