house: house data set

houseR Documentation

house data set

Description

the house dataset contains 6 features and 414 records. the target feature is unit.price and the remaining 5 variables are predictors.

Usage

 data(house) 

Format

the house dataset, as a data frame, contains 414 rows and 6 columns (variables/features). the 6 variables are:

  • house.age: house age (numeric, in year).

  • distance.to.MRT: distance to the nearest MRT station (numeric).

  • stores.number: number of convenience stores (numeric).

  • latitude: latitude (numeric).

  • longitude: longitude (numeric).

  • unit.price: house price of unit area (numeric).

Details

For more information related to the dataset see:
https://archive.ics.uci.edu/dataset/477/real+estate+valuation+data+set
https://www.kaggle.com/quantbruce/real-estate-price-prediction

Source

This dataset originally comes from the UCI repository of machine learning databases:
https://archive.ics.uci.edu/dataset/477/real+estate+valuation+data+set

References

Reza Mohammadi (2025). Data Science Foundations and Machine Learning with R: From Data to Decisions. https://book-data-science-r.netlify.app.

See Also

bank, churn_mlc, churn, churn_tel, adult, risk, cereal, advertising, marketing, drug, house_price, red_wines, white_wines, insurance, caravan, fertilizer, corona

Examples

data(house)
str(house)

liver documentation built on Feb. 19, 2026, 1:07 a.m.