Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

Students also viewed these Databases questions

Question

Summarize the reactive strategy of your organization.

Answered: 1 week ago