gwr.model.selection
This function visualises the GWR models from gwr.model.selection
.
gwr.model.view(DeVar, InDeVars, model.list)
dependent variable
a vector of independent variables for model selection
a list of all GWR model tried in gwr.model.selection
Binbin Lu binbinlu@whu.edu.cn
gwr.model.selection
, gwr.model.sort
if (FALSE) {
data(LondonHP)
DM<-gw.dist(dp.locat=coordinates(londonhp))
DeVar<-"PURCHASE"
InDeVars<-c("FLOORSZ","GARAGE1","BLDPWW1","BLDPOSTW")
model.sel<-gwr.model.selection(DeVar,InDeVars, data=londonhp,
kernel = "gaussian", dMat=DM,bw=5000)
model.list<-model.sel[[1]]
gwr.model.view(DeVar, InDeVars, model.list=model.list)
}
Run the code above in your browser using DataLab