Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# Q7. ( 32 points) Create two vectors with data are shown below, # i) One vector has 3 numbers shown on column 1 and

# Q7. ( 32 points) Create two vectors with data are shown below, #

i) One vector has 3 numbers shown on column 1 and ##

ii) the other has 6 numbers shown column 2:3;

# iii) name the columns with c() and "CO1", "CO2", and "CO3"; #

iv) name the row names with c() and "RO1", "RO2", "RO3"; # and

v) create a 3x3x2 array with the vectors and #

vi) save this to "MyResult" object; #

vii) with the list(), creat "dimnames" object with the names you create; #

viii) print the "MyResult" shown below. # Output: # , , MatrixA # CO1 CO2 CO3 # RO1 5 2 8 # RO2 7 4 9 # RO3 3 6 61 # # , , MatrixB # CO1 CO2 CO3 # RO1 5 2 8 # RO2 7 4 9 # RO3 3 6 61

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

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions