Professional Documents
Culture Documents
Ex. No. 6 R Programming Array: UR16BI009
Ex. No. 6 R Programming Array: UR16BI009
Ex. No. 6 R Programming Array: UR16BI009
AIM:
To implement various matrix, vectors, elements, rows and column to create an array.
DESCRIPTION:
The following command were used to implement various matrix, vectors, elements,
rows and column
OBESERVATION:
OUTPUT:
2. Write a R program to create an array of two 3x3 matrices each with 3 rows and 3 columns
from two given two vectors.
17BI2027–LINUX AND R PROGRAMMING LAB UR16BI009
OUTPUT:
3. Write a R program to create an array of two 3x3 matrices each with 3 rows and 3 columns from
two given two vectors. Print the second row of the second matrix of the array and the element in
the 3rd row and 3rd column of the 1st matrix.
OUTPUTS:
17BI2027–LINUX AND R PROGRAMMING LAB UR16BI009
RESULT:
The following experiment is performed and output is verified