Skip to contents

The dataset name has been changed to 'Cars93_df' to avoid confusion with other packages in the R ecosystem from which datasets have been sourced. This naming convention helps distinguish this dataset as part of the 'usdatasets' package and assists users in identifying its specific characteristics. The suffix '_df' identifies the dataset as a data frame. The original content of the dataset has not been modified in any way.

Usage

data(Cars93_df)

Format

A data frame with 54 observations and 6 variables:

type

Type of the car (factor with 3 levels).

price

Price of the car (in US dollars).

mpg_city

Miles per gallon in the city.

drive_train

Drive train type (factor with 3 levels).

passengers

Number of passengers the car can accommodate.

weight

Weight of the car (in pounds).

Source

1993 Cars Data