Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. Using R, create a matric C: i. ii. iii. iv. V. 1 2 3 4 C 5 6 7 8 19 10 11 12.
2. Using R, create a matric C: i. ii. iii. iv. V. 1 2 3 4 C 5 6 7 8 19 10 11 12. Using the matrix() function Using the cbind function Using the rbind function [1 marks] Use an appropriate function (other than matrix()) to create a new matrix, D, which is the same as matrix C but with an additional row containing the elements 13, 14, 15, 16. [1 marks] Use indexing on the matrix C to display: a. The 3rd row b. C. [4 marks] The element 7 All the elements smaller than 7 [1 marks] [1 marks] [1 mark] [1 mark] [1 mark]
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