Answered step by step
Verified Expert Solution
Question
1 Approved Answer
--Vectors and matrices in Rlanguage-- 1/a/Create a matrix of 30 numbers drawn from a random normal distribution.The matrix should have 6 rows and 5 columns.Assign
--Vectors and matrices in "R"language--
1/a/Create a matrix of 30 numbers drawn from a random normal distribution.The matrix should have 6 rows and 5 columns.Assign the matrix to a variable"matrix1 and display the variable
b/From the matrix created in #a(above),display the following subsets:
----the last 3 rows and 1st,4th and 5th columns
-----even numbered rows and odd numbered columns
c/create a matrix of even numbers from 2 through 40 with 4 rows and 5 cols
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started