dim of vectors and arrays
Get length of vectors and dimension of arrays in a unified manner.
Ddim(x)
x |
vector or array |
Integer vector containing length of vector or dimension of array.
Christian W. Hoffmann, christian@echoffmann.ch
Ddim(matrix(1:12,3,4)) # 3 4 Ddim(rep(0,5)) # 5
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.