Learn R Programming

spgwr (version 0.5-7)

gw.adapt: Adaptive kernel for GWR

Description

The function constructs weights using an adaptive kernal for geographically weighted regression

Usage

gw.adapt(dp, fp, quant, longlat=FALSE)

Arguments

dp
data points coordinates
fp
fit points coordinates
quant
proportion of data points to include in the weights
longlat
if TRUE, use distances on an ellipse with WGS84 parameters

Value

  • a vector of weights