R Dataset / Package rpart / car90

How To Create a Barplot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Stacked Barplot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Pie Chart

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Compute the Mean

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How To Create a Plot

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

How to Compute the Median

Webform
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Boxplot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Correlation Coefficient

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Cumulative Frequency Histogram

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Dotplot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Hollow Histogram

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Numerical Summaries

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Pie Chart

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Plot

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Regression

Stem and Leaf Plots

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Visual Summaries

The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.
Embed
<iframe src="https://embed.picostat.com/r-dataset-package-rpart-car90.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-20753.csv 19.91 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0
Dataset Help

On this Picostat.com statistics page, you will find information about the car90 data set which pertains to Automobile Data from 'Consumer Reports' 1990. The car90 data set is found in the rpart R package. You can load the car90 data set in R by issuing the following command at the console data("car90"). This will load the data into a variable called car90. If R says the car90 data set is not found, you can try installing the package by issuing this command install.packages("rpart") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the car90 R data set. The size of this file is about 20,391 bytes.

Documentation

Automobile Data from 'Consumer Reports' 1990

Description

Data on 111 cars, taken from pages 235–255, 281–285 and 287–288 of the April 1990 Consumer Reports Magazine.

Usage

data(car90)

Format

The data frame contains the following columns

Country

a factor giving the country in which the car was manufactured

Disp

engine displacement in cubic inches

Disp2

engine displacement in liters

Eng.Rev

engine revolutions per mile, or engine speed at 60 mph

Front.Hd

distance between the car's head-liner and the head of a 5 ft. 9 in. front seat passenger, in inches, as measured by CU

Frt.Leg.Room

maximum front leg room, in inches, as measured by CU

Frt.Shld

front shoulder room, in inches, as measured by CU

Gear.Ratio

the overall gear ratio, high gear, for manual transmission

Gear2

the overall gear ratio, high gear, for automatic transmission

HP

net horsepower

HP.revs

the red line—the maximum safe engine speed in rpm

Height

height of car, in inches, as supplied by manufacturer

Length

overall length, in inches, as supplied by manufacturer

Luggage

luggage space

Mileage

a numeric vector of gas mileage in miles/gallon as tested by CU; contains NAs.

Model2

alternate name, if the car was sold under two labels

Price

list price with standard equipment, in dollars

Rear.Hd

distance between the car's head-liner and the head of a 5 ft 9 in. rear seat passenger, in inches, as measured by CU

Rear.Seating

rear fore-and-aft seating room, in inches, as measured by CU

RearShld

rear shoulder room, in inches, as measured by CU

Reliability

an ordered factor with levels Much worse < worse < average < better < Much better: contains NAs.

Rim

factor giving the rim size

Sratio.m

Number of turns of the steering wheel required for a turn of 30 foot radius, manual steering

Sratio.p

Number of turns of the steering wheel required for a turn of 30 foot radius, power steering

Steering

steering type offered: manual, power, or both

Tank

fuel refill capacity in gallons

Tires

factor giving tire size

Trans1

manual transmission, a factor with levels , man.4, man.5 and man.6

Trans2

automatic transmission, a factor with levels , auto.3, auto.4, and auto.CVT. No car is missing both the manual and automatic transmission variables, but several had both as options

Turning

the radius of the turning circle in feet

Type

a factor giving the general type of car. The levels are: Small, Sporty, Compact, Medium, Large, Van

Weight

an order statistic giving the relative weights of the cars; 1 is the lightest and 111 is the heaviest

Wheel.base

length of wheelbase, in inches, as supplied by manufacturer

Width

width of car, in inches, as supplied by manufacturer

Source

This is derived (with permission) from the data set car.all in S-PLUS, but with some further clean up of variable names and definitions.

See Also

car.test.frame, cu.summary for extracts from other versions of the dataset.

Examples

data(car90)
plot(car90$Price/1000, car90$Weight,
     xlab = "Price (thousands)", ylab = "Weight (lbs)")
mlowess <- function(x, y, ...) {
    keep <- !(is.na(x) | is.na(y))
    lowess(x[keep], y[keep], ...)
}
with(car90, lines(mlowess(Price/1000, Weight, f = 0.5)))
--

Dataset imported from https://www.r-project.org.

Recent Queries For This Dataset

No queries made on this dataset yet.