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

 Which console input produces the following vector in R ? (Createthis so that we can manipulate it later - store it inan 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!