powered by
$$w(g) = e^{{-(d/h)}^2}$$
where $d$ are the distances between the observations and $h$ is the bandwidth.
The default (from release 0.5) gwr.Gauss function returns a vector of weights using the Gaussian scheme:
$$w(g) = e^{-(1/2) {{(d/h)}^2}}$$
gwr.gauss(dist2, bandwidth) gwr.Gauss(dist2, bandwidth)
gwr.sel
gwr
plot(seq(-10,10,0.1), gwr.Gauss(seq(-10,10,0.1)^2, 3.5), type="l")
Run the code above in your browser using DataLab