slxr
0.1.1Spatial-X (SLX) Models for Applied Researchers
Overview
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.
Install
Health
- OK2026-04-236 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 98%
- Return-value docs
- 90%
- References docs
- 14%
Downloads
Repository
Stars over time
Releases over time
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/cwimpy/slxr on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.5 median / 23 max
- Test cases
- 14 / 0.30 per code line
Test coverage
Line coverage
61%
Expression
65.2%
Tests / Examples
61.1% / 52% ex
Functions
34 9 exported
Complexity
4.7 avg / 23 max
Call network
34 nodes / 16 edges
Call graph
Open call graph →Lowest coverage
34 functions| Function | Cyclo | Coverage |
|---|---|---|
| slx_plot_W exp | 7 | 0% |
| slx_plot_decay exp | 4 | 0% |
| slx_sensitivity exp | 1 | 0% |
| .__rlang_data_pronoun_import__ | 1 | 0% |
| .is_valid_provider | 2 | 0% |
| glance.slx | 1 | 0% |
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.1.1Latest2026-04-22 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-04-22
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 168 KB / 2 files
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet