matrices in R programming

Provide in the plain text R commands that finds/solves the following:

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
  1. Create a matrix named m1 with three rows and five columns and all the numeric (integer) values from 6 to 20!
  2. Multiply all elements in m1 by 0.5! Overwrite the matrix m1 with the result!
  3. Create another matrix m2 with one row and five columns and all the numeric (integer) values from 1 to 5!
  4. Calculate the sum of all elements in m2!
  5. Combine m1 and m2 with rbing(). Save the result as m3 and check the dimension of the new matrix!
  6. Index the 5th column of m3!
  7. Index the 2nd and 4th lines of m3!
  8. Calculate the sums for all columns in m3!
  9. Calculate the standard deviation for the 3rd column in m3!
  10. From m3, index the element in the 2nd column and 2nd line and all eight adjacent elements! Save the result as m4 and examine its object class!

For submission, save the command as a plain text file, save the matrix data as .csv plain text file, and submit those two files.

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER