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

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