An R Introduction to Statistics

dimnames

Matrix

fractal-09hA matrix is a collection of data elements arranged in a two-dimensional rectangular layout. The following is an example of a matrix with 2 rows and 3 columns.

    [         ]
      2  4  3
A =   1  5  7