Learn R Programming

rbart (version 1.0)

ucarprice: Used Car Prices

Description

Prices of used cars and variables describing the cars.

Usage

data("ucarprice")

Arguments

Format

A data frame with 1,000 observations on the following 7 variables.

price

numeric: price of a car in dollars

trim

factor: trim of the car, for example, how the interior is styled

isOneOwner

factor: has the car had just one owner, t=yes, f=no

mileage

numeric: number of miles the car has been driven

year

numeric: model year of the car

color

factor: color of the car

displacement

factor: displacement of the car engine

Examples

Run this code
# NOT RUN {
data(ucarprice)
# }

Run the code above in your browser using DataLab