powered by
Ddim(x)
Ddim(matrix(1:12,3,4)) # 3 4 Ddim(rep(0,5)) # 5
Run the code above in your browser using DataLab