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:
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
- defense_burden - Defense burden data, 1995 cross-section
- defense_burden_panel - Defense burden panel, 1951-2008
Last updated from:53f5f17acf. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 144 | ||
| source / vignettes | OK | 258 | ||
| linux-release | OK | 138 | ||
| macos-release | OK | 161 | ||
| macos-oldrel | OK | 175 | ||
| windows-devel | OK | 95 | ||
| windows-release | OK | 92 | ||
| windows-oldrel | OK | 79 | ||
| wasm-release | OK | 141 |
Exports:glanceslxslx_compareslx_effectsslx_plot_decayslx_plot_effectsslx_plot_shockslx_plot_Wslx_sensitivityslx_weightstidy
Dependencies:bootclassclassIntcliDBIdeldire1071genericsglueKernSmoothlatticelifecyclemagrittrMatrixpillarpkgconfigproxyRcpprlangs2sfspspDataspdeptibbleunitsutf8vctrswk
Last update: 2026-04-13
Started: 2026-04-13
Last update: 2026-04-12
Started: 2026-04-12
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Defense burden data, 1995 cross-section | defense_burden |
| Defense burden panel, 1951-2008 | defense_burden_panel |
| Fit a Spatial-X (SLX) model | slx |
| Compare OLS, SLX, and other lm-like models side by side | slx_compare |
| Direct, indirect, and total effects from an SLX model | slx_effects |
| Plot how indirect effects decay across orders of W | slx_plot_decay |
| Coefficient plot of direct, indirect, and total effects | slx_plot_effects |
| Counterfactual shock plot | slx_plot_shock |
| Heatmap of a spatial weights matrix | slx_plot_W |
| Construct a spatial weights matrix | slx_weights |
| Tidy and glance methods for SLX models | glance.slx slx-tidiers tidy.slx |
