Package: slxr 0.1.1

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>.

Authors:Cameron Wimpy [aut, cre]

slxr_0.1.1.tar.gz
slxr_0.1.1.zip(r-4.7-any)slxr_0.1.1.zip(r-4.6-any)slxr_0.1.1.zip(r-4.5-any)
slxr_0.1.1.tgz(r-4.6-any)slxr_0.1.1.tgz(r-4.5-any)
slxr_0.1.1.tar.gz(r-4.7-any)slxr_0.1.1.tar.gz(r-4.6-any)
slxr_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
slxr/json (API)

# Install 'slxr' in R:
install.packages('slxr', repos = c('https://cwimpy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cwimpy/slxr/issues

Datasets:

On CRAN:

Conda:

4.60 score 1 stars 7 scripts 283 downloads 11 exports 29 dependencies

Last updated from:53f5f17acf. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK144
source / vignettesOK258
linux-releaseOK138
macos-releaseOK161
macos-oldrelOK175
windows-develOK95
windows-releaseOK92
windows-oldrelOK79
wasm-releaseOK141

Exports:glanceslxslx_compareslx_effectsslx_plot_decayslx_plot_effectsslx_plot_shockslx_plot_Wslx_sensitivityslx_weightstidy

Dependencies:bootclassclassIntcliDBIdeldire1071genericsglueKernSmoothlatticelifecyclemagrittrMatrixpillarpkgconfigproxyRcpprlangs2sfspspDataspdeptibbleunitsutf8vctrswk

Replicating Wimpy, Whitten, and Williams (2021)
Data | Wrapping the weights matrices | Fitting the multi-W panel SLX | Direct, indirect, and total effects | Visualization | Caveats | References

Last update: 2026-04-13
Started: 2026-04-13

Getting started with slxr
The Spatial-X model | The example dataset | Fitting an SLX model with a single W | Variable-specific weights matrices | Visualization | broom and modelsummary integration | Caveats | References

Last update: 2026-04-12
Started: 2026-04-12