Skip to contents

The `cars_df` dataset contains data on the speed of cars and the corresponding distances required to stop. This dataset is often used in statistical analysis and regression modeling. The dataset name has been suffixed with `_df` to indicate that it is a data frame, ensuring clarity within the `sampledatasets` package.

Usage

data(cars_df)

Format

A data frame with 50 observations and 2 variables:

speed

Speed of the car (mph) (numeric).

dist

Stopping distance (ft) (numeric).

Source

Data from the 1920s. Originally included in the *datasets* package in R.