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 )
- Calculate x+y and standard deviation of the vector x+y
- Calculate correlation coefficient between x and y
- Write the 7.th term of the vector x+y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
