slxr: Spatial-X (SLX) Models for Applied Researchers

Tools for estimating, interpreting, and visualizing Spatial-X (SLX) regression models. Provides a formula-based interface with first-class support for variable-specific weights matrices, higher-order spatial lags, temporally-lagged spatial variables (TSLS), and tidy effects decomposition (direct, indirect, total). Designed to lower the barrier to SLX modeling for applied researchers who already work with 'sf' and 'lm'-style formulas. Methods follow Wimpy, Whitten, and Williams (2021) <doi:10.1086/710089>.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: spdep, sf, Matrix, tibble, stats, generics, rlang
Suggests: ggplot2, modelsummary, broom, knitr, rmarkdown, testthat (≥ 3.0.0), dplyr, tidyr, haven
Published: 2026-04-22
DOI: 10.32614/CRAN.package.slxr (may not be active yet)
Author: Cameron Wimpy ORCID iD [aut, cre]
Maintainer: Cameron Wimpy <cwimpy at astate.edu>
BugReports: https://github.com/cwimpy/slxr/issues
License: MIT + file LICENSE
URL: https://github.com/cwimpy/slxr
NeedsCompilation: no
Citation: slxr citation info
Materials: README, NEWS
CRAN checks: slxr results

Documentation:

Reference manual: slxr.html , slxr.pdf
Vignettes: Getting started with slxr (source, R code)
Replicating Wimpy, Whitten, and Williams (2021) (source, R code)

Downloads:

Package source: slxr_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): slxr_0.1.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): slxr_0.1.1.tgz, r-oldrel (x86_64): slxr_0.1.1.tgz

Linking:

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