A matrix is a two-dimensional data structure where data are arranged into rows and columns. For example,
{IMAGE: 2 * 3 matrix with integer data}
Here, the above matrix is 2 * 3 (pronounced “two by three”) matrix because it has 2 rows and 3 columns.
Create a Matrix in R
In R, we use the matrix() function …
Continue reading: R …