Python Foundation

+91-7982108418            

R-Matrix

  1. Write a R program to create a blank matrix.
  2. Write a R program to create a matrix taking a given vector of numbers as input. Display the matrix.
  3. Write a R program to create a matrix taking a given vector of numbers as input and define the column and row names. Display the matrix.
  4. Write a R program to access the element at 3rd column and 2nd row, only the 3rd row and only the 4th column of a given matrix.
  5. Write a R program to create two 2×3 matrix and add, subtract, multiply and divide the matrixes.
  6. Write a R program to create a matrix from a list of given vectors.
  7. Write a R program to extract the submatrix whose rows have column value > 7 from a given matrix.
  8. Write a R program to convert a matrix to a 1 dimensional array.
  9. Write a R program to create a correlation matrix from a dataframe of same data type.
  10. Write a R program to convert a given matrix to a list of column-vectors.
  11. Write a R program to find row and column index of maximum and minimum value in a given matrix.
  12. Write a R program to rotate a given matrix 90 degree clockwise rotation.
  13. Write a R program to concatenate two given matrices of same column but different rows.

Powered by BetterDocs

Contact Us
close slider

error: Content is protected !!