By this he means that the averaged absolute value of the slope should be around 45. Write

Question:

By this he means that the averaged absolute value of the slope should be around ±45°. Write a function to achieve this for a time-series plot, and try it out on the sunspots dataset. (Average along the arc length of the curve. See the function banking for Cleveland's solution.)

Step by Step Answer:

Related Book For  book-img-for-question

Modern Applied Statistics With S-PLUS

ISBN: 9781475731217

3rd Edition

Authors: W. N. Venables, B. D. Ripley

Question Posted: