Geographically-Weighted Models
Overview
Techniques from a particular branch of spatial statistics,termed geographically-weighted (GW) models. GW models suit situations when data are not described well by some global model, but where there are spatial regions where a suitably localised calibration provides a better description. 'GWmodel' includes functions to calibrate: GW summary statistics (Brunsdon et al., 2002)<doi: 10.1016/s0198-9715(01)00009-6>, GW principal components analysis (Harris et al., 2011)<doi: 10.1080/13658816.2011.554838>, GW discriminant analysis (Brunsdon et al., 2007)<doi: 10.1111/j.1538-4632.2007.00709.x> and various forms of GW regression (Brunsdon et al., 1996)<doi: 10.1111/j.1538-4632.1996.tb00936.x>; some of which are provided in basic and robust (outlier resistant) forms.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 57includes a package overview page
- Examples that run
- 48%11 run in a plain check · 12 never run
- Exported functions with examples
- 35%
- Documented parameters
- 99%
- Return-value docs
- 83%
- Help pages citing references
- 61%
Downloads
Dependencies
Installing GWmodel adds 37 packages (24 with compiled code, 61 MB of source tarballs). Heaviest: sf 9.3 MB, TH.data 8.2 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.4-1Latest
- 2.3-3
- RR 4.4.0 released · 2024-04-24
- 2.3-22024-01-31 · diff ↗
- 2.3-12023-07-05 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.2-9
- RR 4.2.0 released · 2022-04-22
- 2.2-82021-10-09 · diff ↗
- 2.2-72021-09-07 · diff ↗
- 2.2-6
- RR 4.1.0 released · 2021-05-18
- 2.2-52021-04-12 · diff ↗
- 2.2-42021-02-17 · diff ↗
Show 32 earlier eventsHide 32 earlier events
- 2.2-32021-02-07 · diff ↗ ·
removed 30 exports
gw.weight.box, gw.weight.gau, gw.weight.bis, gw.weight.tri, gw.weight.gau.ad, gw.weight.bis.ad, gw.weight.tri.ad, gw.weight.box.ad, gw.reg1, coordinate_rotate, eu_dist_mat, eu_dist_smat, eu_dist_vec, mk_dist_mat, mk_dist_smat, mk_dist_vec, cd_dist_mat, cd_dist_smat, cd_dist_vec, md_dist_mat, md_dist_smat, md_dist_vec, bisq_wt_vec, bisq_wt_mat, gauss_wt_vec, gauss_wt_mat, tri_wt_vec, tri_wt_mat, exp_wt_vec, exp_wt_matadded 18 exports
gw_dist, gw_weight, gw_weight_vec, gw_weight_mat, gw_reg_1, trhat2, fitted, AICc_rss1, gw_local_r2, BIC, gw_reg_2, gw_reg_all, gw_reg_all_omp, gw_reg_all_cuda, gw_cv_all, gw_cv_all_omp, gw_cv_all_cuda, e_vec - unarchivedReturned to CRAN2020-11-22
- 2.2-22020-11-22 · diff ↗
- archivedRemoved from CRAN2020-11-13check problems were not corrected in time Repeated installation issues despite repeated warnings
- 2.2-12020-11-10 · diff ↗
- 2.2-0
- 2.1-42020-05-09 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.1-32019-07-15 · diff ↗
- 2.1-22019-07-08 · diff ↗
- 2.1-12019-07-03 · diff ↗ ·
added 7 exports
gwr.scalable, gwr.scalable.loocv, AICc1, gwr_diag1, scgwr_loocv, scgwr_pre, scgwr_reg - 2.0-92019-04-29 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.0-8
- 2.0-7
- 2.0-62018-08-20 · diff ↗ ·
added 13 exports
bw.gtwr, gtwr.aic, gtwr, ti.distv, ti.distm, ti.dist, get.before.ti, get.ts, sdist.mat, tdist.mat, get.uloat, st.dist, gwr.multiscale - RR 3.5.0 released · 2018-04-23
- 2.0-52017-12-20 · diff ↗ ·
added 17 exports
gwr.bootstrap, generate.lm.data, parametric.bs, parametric.bs.local, se.bs, bias.bs, ci.bs, pval.bs, gwrtvar, gwrt.mlr, gwrt.lag, gwrt.err, gwrt.sma, bw.gwr3, gwr.psdm, gwr.backfit, bw.gwr2 - 2.0-42017-05-21 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 2.0-32017-03-28 · diff ↗
- 2.0-2
- 2.0-12016-11-30 · diff ↗ ·
removed 5 exports
coordinate.rotation, Chebyshev, gw.reg, gwr.fitted, local.corradded 51 exports
gwss.montecarlo, plot.pvlas, coordinate_rotate, eu_dist_mat, eu_dist_smat, eu_dist_vec, mk_dist_mat, mk_dist_smat, mk_dist_vec, cd_dist_mat, cd_dist_smat, cd_dist_vec, md_dist_mat, md_dist_smat, md_dist_vec, bisq_wt_vec, bisq_wt_mat, gauss_wt_vec, gauss_wt_mat, tri_wt_vec, tri_wt_mat, exp_wt_vec, exp_wt_mat, gw_reg, gw.fitted, ehat, rss, gwr_diag, AICc, AICc_rss and 21 more - RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 1.2-52015-02-01 · diff ↗ ·
removed 1 export
print.summary.lmadded 5 exports
mink.approach, bw.gwr1, gwr.aic1, gwr.cv1, mink.matrixview - 1.2-32014-05-12 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.2-2
- 1.2-12013-08-15 · diff ↗ ·
added 20 exports
montecarlo.gwss, gwda, print.gwda, grouping.xy, wqda, wlda, splitx, wmean, wvarcov, wprior, bw.gwda, wqda.cr, wlda.cr, gwr.hetero, gwr.mixed, gwr.mixed.2, gwr.mixed.trace, print.mgwr, gwr.q, gwr.collin.diagno - 1.1-92013-06-02
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-06-02
- Total releases
- 32 / 13 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 1.5 MB / 9 files
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("GWmodel")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v063.i17, 10.1080/10095020.2014.917453.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.