bw_gwalpha: Bandwidth Selection for Geographically Weighted Cronbach's...

View source: R/bw_gwalpha.R

bw_gwalphaR Documentation

Bandwidth Selection for Geographically Weighted Cronbach's Alpha

Description

A function for automatic bandwidth selection to calibrate GWalpha.

Usage

bw_gwalpha(crit, minmax, adaptive = TRUE, tol = 3, max_iter = 100, ...)

Arguments

crit

predetermined criterion for reliability level

minmax

a numeric vector of length 2 with the lower and upper bounds of the bandwidth search interval

adaptive

logical; if TRUE (default), the bandwidth bw corresponds to the number of nearest neighbours; if FALSE, bw is a fixed distance

tol

convergence tolerance

max_iter

maximum number of iterations

...

additional arguments passed on to gwalpha().

Value

a adaptive or fixed distance bandwidth

See Also

gwalpha()


geopsych documentation built on Dec. 4, 2025, 1:07 a.m.