size {matlab} | R Documentation |
Provides dimensions of x
.
size(x)
x |
numeric vector or matrix |
Invokes base::length
or base::dim
depending on argument x
.
Returns class size_t
containing the dimensions of input argument.
P. Roebuck, roebuck@mdanderson.org
size(1:8) size(matrix(1:8, 2, 4))