Search notes:

R: arrays

An array is one of the fundamental data structures of R.

An array is a vector

An array is a vector (atomic or list) that has the attribute dim. This attribute is itself an (integer) vector that specifies the dimensions of the the array. Thus, the length of the dim vector also defines the number of dimensions of the vector.

Optional attribute dimnames

An array can also be assigned the optional attribute dimnames

Two-dimensional arrays

Two-dimensional arrays are also matrices.

See also

is.array(obj) tests if obj is an array.

Index