Yigang
April 01, 2021
The data give the speed of cars and the distances taken to stop. Note that the data were recorded in the 1920s.
Ezekiel, M. (1930) Methods of Correlation Analysis. Wiley.
Calculate and Visualize the predicted stopping distances of cars by user designated speed.
lm(dist ~ speed, data = cars)
Call:
lm(formula = dist ~ speed, data = cars)
Coefficients:
(Intercept) speed
-17.579 3.932
McNeil, D. R. (1977) Interactive Data Analysis. Wiley.