Task 5: We have the following vector in R: X=c(2,1,5,0,4,5,3). Use R to: a) Obtain a new vector Y each value of which is
Posted: Mon May 09, 2022 12:05 pm
Task 5: We have the following vector in R: X=c(2,1,5,0,4,5,3). Use R to: a) Obtain a new vector Y each value of which is two times less than the corresponding value in X; (0.1) b) Obtain the five number summary for X. (0.2) c) Obtain the logarithm of X, and save the result as Y2. (0.2)