Question: In Question 1, You need to write your codes on R Script part and you need to click run to see your results on R

In Question 1, You need to write your codes on R Script part and you need to click run to see your results on R Console. But I just only int5erest in your codes on R script file. You need to send me your R script file and give it a name as your student ID( 160444019 ).

Question 1: (15 points) Write two vectors which have numeric values on R . Your first vector is called as x and which consists of a sequence that starts at 2 and goes to 18 increasing by 2. Your second vector is called as y and that consists of your student ID. (Let my ID be 12345, then y=c(1,2,3,4,5)in R )

  1. Calculate x+y and standard deviation of the vector x+y
  2. Calculate correlation coefficient between x and y
  3. Write the 7.th term of the vector x+y

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!