The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

lctools: Local and Geographically Weighted Spatial Statistics Tools

Provides researchers and educators with easy-to-learn, user friendly tools for calculating key spatial statistics and for applying simple as well as advanced methods of spatial analysis on real data. These include: Local Pearson and Geographically Weighted Pearson Correlation Coefficients; Spatial Inequality Measures (Gini coefficient, Spatial Gini, Location Quotient (LQ) and Focal Location Quotient); Spatial Autocorrelation indices (Global and Local Moran's I); several Geographically Weighted Regression techniques, including the Geographically Weighted Zero-Inflated Poisson Regression; tools for computing variables used in Spatial Interaction Models; and other spatial analysis tools (other geographically weighted statistics). The local correlation tools were originally developed to test for local multicollinearity among the explanatory variables of local regression models and can also be used to examine the local association between pairs of variables. The package also contains functions for measuring the significance of each statistic calculated, mainly based on Monte Carlo simulations, and comes with two example datasets, one of which is a spatial data frame referring to the municipalities of Greece. Methods are described in Kalogirou (2012) <doi:10.1007/s10037-011-0061-y>, Kalogirou (2016) <doi:10.1111/gean.12092>, and Rey and Smith (2013) <doi:10.1007/s12076-012-0086-z>.

Version: 0.3
Depends: R (≥ 3.5.0)
Imports: sp, reshape, weights, pscl, MASS
Suggests: knitr, rmarkdown, testthat
Published: 2026-07-09
DOI: 10.32614/CRAN.package.lctools
Author: Stamatis Kalogirou [aut, cre]
Maintainer: Stamatis Kalogirou <stamatis.science at gmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://stamatisgeoai.eu
NeedsCompilation: no
Materials: NEWS
In views: Spatial
CRAN checks: lctools results

Documentation:

Reference manual: lctools.html , lctools.pdf
Vignettes: Spatial Autocorrelation (source, R code)
Spatial Inequalities with R (source, R code)

Downloads:

Package source: lctools_0.3.tar.gz
Windows binaries: r-devel: lctools_0.3.zip, r-release: lctools_0.3.zip, r-oldrel: lctools_0.3.zip
macOS binaries: r-release (arm64): lctools_0.3.tgz, r-oldrel (arm64): lctools_0.3.tgz, r-release (x86_64): lctools_0.3.tgz, r-oldrel (x86_64): lctools_0.3.tgz
Old sources: lctools archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lctools to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.