Array are homogenous data structures (like vector, factor, matrix) and can contain items of similar class only.
n-dimensional.
Matrix can be considered as multiple sheets (matrices) stacked over each other.
We can use array() function to create an array.
First paramer to this array () function is combine function to combine two matrices.
Second parameter dimension or dim is set to an integer vector containing three integer values. First digit represents number of rows in sheet, second digit represents number of columns in sheet and third digit is the sheet number itself.