R/gwr.bisquare.R

Defines functions gwr.bisquare

Documented in gwr.bisquare

gwr.bisquare <- function(dist2, d) {
	d2 <- d^2
	w <- ifelse(dist2 > d2, 0, (1 - (dist2/d2))^2)
	w
}

Try the spgwr package in your browser

Any scripts or data that you put into this service are public.

spgwr documentation built on July 9, 2023, 6:04 p.m.