Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Matrix Manipulation
Topic: Sorting and Counting
See also: cols rows

Function: dim
Description: dim gives the vector of the numbers of the elements in each dimension of an array.

Usage: d = dim(x)
Input:
x array
Output:
d vector, containing the numbers of the elements in each dimension

Note:

Example:
dim(matrix(2,3,4))

Result:
Contents of dim
[1,]        2
[2,]        3
[3,]        4



(C) MD*TECH Method and Data Technologies, 05.02.2006