| wuhan.hp | R Documentation |
A data set of second-hand house price in Wuhan, China collected in 2018.
data(multisampling)
A list of two items called "data" and "coords". Item "data" is a data frame with 13862 second-hand properties at 779 neighbourhoods and the following 22 variables.
PriceHouse price per square metre.
Floor.High1 if a property is on a high floor, otherwise 0.
Floor.Low1 if a property is on a low floor, otherwise 0.
Decoration.Fine1 if a property is well decorated, otherwise 0.
PlateTower1 if a property is of the plate-tower type, otherwise 0.
Steel1 if a property is of 'steel' structure, otherwise 0.
BuildingAreaBuilding area in square metres.
FeeManagement fee per square meter per month.
d.CommercialDistance to the nearest commercial area.
d.GreenlandDistance to the nearest green land.
d.WaterDistance to the nearest river or lake.
d.UniversityDistance to the nearest university.
d.HighSchoolDistance to the nearest high school.
d.MiddleSchoolDistance to the nearest middle school.
d.PrimarySchoolDistance to the nearest primary school.
d.KindergartenDistance to the nearest kindergarten.
d.SubwayStationDistance to the nearest subway station.
d.SupermarketDistance to the nearest supermarket.
d.ShoppingMallDistance to the nearest shopping mall.
lonLongitude coordinates (Projected CRS: EPSG 3857).
latLatitude coordinates (Projected CRS: EPSE 3857).
groupGroup id of each sample.
The following variables are group level:
- Fee
- d.Commercial
- d.Greenland
- d.Water
- d.University
- d.HighSchool
- d.MiddleSchool
- d.PrimarySchool
- d.Kindergarten
- d.SubwayStation
- d.Supermarket
- d.ShoppingMall
The following variables are sample level:
- Price
- Floor.High
- Floor.Low
- Decoration.Fine
- PlateTower
- Steel
- BuildingArea
Item "coords" is a 779-by-2 matrix of coordinates of all neighbourhoods.
Yigong Hu yigong.hu@bristol.ac.uk
## Not run:
data(wuhan.hp)
hgwr(
formula = Price ~ L(d.Water + d.Commercial + d.PrimarySchool +
d.Kindergarten + Fee) + BuildingArea + (Floor.High | group),
data = wuhan.hp$data,
coords = wuhan.hp$coords, bw = 50, kernel = "bisquared")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.