(Solved):
faithful is a built-in R dataset that represents the waiting time between eruptions and the durati ...
faithful is a built-in R dataset that represents the waiting time between eruptions and the duration of the eruption for the Old Faithful geyser in Yellowstone National Park, Wyoming, USA. We are interested in the eruptions column of faithful. The values in the eruptions column can be converted into a vector of name x by the assignment: x <- faithful$eruptions. We can see the values in x by typing x and Return or Enter. Remember x <- faithful$eruptions After this assignment, we can see the first six values in x by typing head(x) and Return or Enter a.Give the R code to assign the values in in the len column of ToothGrowth to the vector named x. (Easy-see above) b. Calculate the sample median of x. c. Calculate the sum of the square roots of the values in x. d. Calculate the sample mean of x. e. Calculate the sample variance of x. f. Calculate the sample standard deviation of x. f. Using R, calculate a 5 trimmed mean of x. 272 h.Enter your R script in the box below. This answer has not been graded yet.