size {matlab} | R Documentation |
Provides dimensions of X
.
size(X, dimen)
X |
numeric vector or matrix |
dimen |
numeric scalar specifies particular dimension |
This is an S4 generic function.
Invokes length
or dim
depending on
argument X
.
Returns object of class size_t
containing the dimensions of
input argument.
P. Roebuck, roebuck@mdanderson.org
size(1:8) size(matrix(1:8, 2, 4)) size(matrix(1:8, 2, 4), 2)