Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which console input produces the following vector in R ? (Create this so that we can manipulate it later - store it in an object

image text in transcribedimage text in transcribedimage text in transcribed

Which console input produces the following vector in R ? (Create this so that we can manipulate it later - store it in an object ' x '): x=246810121416 x=seq(2,4,6,8,10,12,14,16)x=vector(2,4,6,8,10,12,14,16)x=c(2,4,6,8,10,12,14,16)x=rep(2,4,6,8,10,12,14,16) 1 point Which code produces the transpose of vector x,a a 1x8 matrix? (Create the transpose of vector x and store it in object 'xt'): xt=inv(x)xt=det(x)xt=trans(x)xt=t(x) What is the value in the 6th element of the resulting vector, z ? Hint: After creating object 'z', request the 6th element by indexing with square brackets ( [ ]) as follows: z[6] 70 40 60 50 Create the following vector and store it in object ' y '. y=13571357 Calculate a new vector ' a ' as the sum of x+y. How many elements does resulting vector 'a' have? 128 8 64 16 1 point What is the value in the 7th element of the resulting vector, a, created in question 4? Hint: After creating object 'a', request the 7 th element by indexing with square brackets ( [ ]) as follows: a[7] 19 11 23 15

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 Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

More Books

Students also viewed these Databases questions

Question

6. Explain the power of labels.

Answered: 1 week ago

Question

10. Discuss the complexities of language policies.

Answered: 1 week ago