TITLE(dim @@ Array Extents)
USAGE(
dim(x)
dim(x) <- values
)
ALIAS(dim)
ALIAS(dim<-)
VALUE(
This function retrieves the vector of extents of the array
given as its argument.  The second form above is used to shape a
vector as an array by specifying its extents.
)
SEEALSO(
LANG(LINK(ncol)), LANG(LINK(nrow)) and LANG(LINK(dimnames)).
)
EXAMPLES(
# simple versions of nrow and ncol could be defined as follows
nrow0 <- function(x) dim(x)[1]
ncol0 <- function(x) dim(x)[2]
)
