View source: R/Model.selection.r
gwr.model.view | R Documentation |
gwr.model.selection
This function visualises the GWR models from gwr.model.selection
.
gwr.model.view(DeVar, InDeVars, model.list)
DeVar |
dependent variable |
InDeVars |
a vector of independent variables for model selection |
model.list |
a list of all GWR model tried in |
The function “model.view.gwr” (in the early versions of GWmodel) has been renamed as “gwr.model.view”, while the old name is still kept valid.
Binbin Lu binbinlu@whu.edu.cn
gwr.model.selection
, gwr.model.sort
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.