Learn R Programming

spgwr (version 0.6-37)

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)

Value

a vector of weights

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

Author

Roger Bivand Roger.Bivand@nhh.no