Learn R Programming

GWmodel (version 2.4-1)

gwr.model.view: Visualise the GWR models from gwr.model.selection

Description

This function visualises the GWR models from gwr.model.selection.

Usage

gwr.model.view(DeVar, InDeVars, model.list)

Arguments

DeVar

dependent variable

InDeVars

a vector of independent variables for model selection

model.list

a list of all GWR model tried in gwr.model.selection

Author

Binbin Lu binbinlu@whu.edu.cn

See Also

gwr.model.selection, gwr.model.sort

Examples

Run this code
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