EWHP | R Documentation |
A house price data set for England and Wales from 2001 with 9 hedonic (explanatory) variables.
data(EWHP)
A data frame with 519 observations on the following 12 variables.
a numeric vector, X coordinate
a numeric vector, Y coordinate
a numeric vector, the purchase price of the property
a numeric vector, 1 if the property was built during the world war, 0 otherwise
a numeric vector, 1 if the property was built after the world war, 0 otherwise
a numeric vector, 1 if the property was built between 1960 and 1969, 0 otherwise
a numeric vector, 1 if the property was built between 1970 and 1979, 0 otherwise
a numeric vector, 1 if the property was built between 1980 and 1989, 0 otherwise
a numeric vector, 1 if the property is detached (i.e. it is a stand-alone house), 0 otherwise
a numeric vector, 1 if the property is semi detached, 0 otherwise
a numeric vector, if the property is a flat (or 'apartment' in the USA), 0 otherwise
a numeric vector, floor area of the property in square metres
Binbin Lu binbinlu@whu.edu.cn
Fotheringham, A.S., Brunsdon, C., and Charlton, M.E. (2002), Geographically Weighted Regression: The Analysis of Spatially Varying Relationships, Chichester: Wiley.
###
data(EWHP)
head(ewhp)
houses.spdf <- SpatialPointsDataFrame(ewhp[, 1:2], ewhp)
####Get the border of England and Wales
data(EWOutline)
plot(ewoutline)
plot(houses.spdf, add = TRUE, pch = 16)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.