Python Foundation

+91-7982108418            
Table of Contents

R-Array #

  1. Write a R program to convert a given matrix to a 1 dimensional array.
  2. Write a R program to create an array of two 3×3 matrices each with 3 rows and 3 columns from two given two vectors.
  3. Write a R program to create an 3 dimensional array of 24 elements using the dim() function.
  4. Write a R program to create an array of two 3×3 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.
  5. Write a R program to combine three arrays so that the first row of the first array is followed by the first row of the second array and then first row of the third array.
  6. Write a R program to create an array using four given columns, three given rows, and two given tables and display the content of the array.
  7. Write a R program to create a two-dimensional 5×3 array of sequence of even integers greater than 50.

Powered by BetterDocs

Contact Us
close slider

error: Content is protected !!