| Boston | R Documentation |
A data set containing housing values in 506 suburbs of Boston.
Boston
A data frame with 506 rows and 13 variables.
crimper capita crime rate by town.
znproportion of residential land zoned for lots over 25,000 sq.ft.
indusproportion of non-retail business acres per town.
chasCharles River dummy variable (= 1 if tract bounds river; 0 otherwise).
noxnitrogen oxides concentration (parts per 10 million).
rmaverage number of rooms per dwelling.
ageproportion of owner-occupied units built prior to 1940.
disweighted mean of distances to five Boston employment centres.
radindex of accessibility to radial highways.
taxfull-value property-tax rate per $10,000.
ptratiopupil-teacher ratio by town.
lstatlower status of the population (percent).
medvmedian value of owner-occupied homes in $1000s.
This dataset was obtained from, and is slightly modified from, the Boston dataset that is part of the MASS library. References are available in the MASS library.
James, G., Witten, D., Hastie, T., and Tibshirani, R. (2013) An Introduction to Statistical Learning with applications in R, https://www.statlearning.com, Springer-Verlag, New York
lm(medv ~ crim + rm, data=Boston)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.