Usage of matrices on R
Provide in the plain text R commands that finds/solves the following:
Create a matrix named m1 with three rows and five columns and all the numeric (integer) values from 6 to 20!
Multiply all elements in m1 by 0.5! Overwrite the matrix m1 with the result!
- Create another matrix m2 with one row and five columns and all the numeric (integer) values from 1 to 5!
- Calculate the sum of all elements in m2!
- Combine m1 and m2 with rbing(). Save the result as m3 and check the dimension of the new matrix!
- Index the 5th column of m3!
- Index the 2nd and 4th lines of m3!
- Calculate the sums for all columns in m3!
- Calculate the standard deviation for the 3rd column in m3!
- 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!
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.