gw.adapt | R Documentation |
The function constructs weights using an adaptive kernal for geographically weighted regression
gw.adapt(dp, fp, quant, longlat=FALSE)
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 |
a vector of weights
Roger Bivand Roger.Bivand@nhh.no
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.