Package: spconf 1.0.2
spconf: Computing Scales of Spatial Smoothing for Confounding Adjustment
Computes the effective range of a smoothing matrix, which is a measure of the distance to which smoothing occurs. This is motivated by the application of spatial splines for adjusting for unmeasured spatial confounding in regression models, but the calculation of effective range can be applied to smoothing matrices in other contexts. For algorithmic details, see Rainey and Keller (2024) "spconfShiny: an R Shiny application..." <doi:10.1371/journal.pone.0311440> and Keller and Szpiro (2020) "Selecting a Scale for Spatial Confounding Adjustment" <doi:10.1111/rssa.12556>.
Authors:
spconf_1.0.2.tar.gz
spconf_1.0.2.zip(r-4.7)spconf_1.0.2.zip(r-4.6)spconf_1.0.2.zip(r-4.5)
spconf_1.0.2.tgz(r-4.6-any)spconf_1.0.2.tgz(r-4.5-any)
spconf_1.0.2.tar.gz(r-4.7-any)spconf_1.0.2.tar.gz(r-4.6-any)
spconf_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
spconf/json (API)
| # Install 'spconf' in R: |
| install.packages('spconf', repos = c('https://kpkeller.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kpkeller/spconf/issues
Last updated from:9f549e2ad1. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 143 | ||
| source / vignettes | OK | 158 | ||
| linux-release-x86_64 | OK | 132 | ||
| macos-release-arm64 | OK | 89 | ||
| macos-oldrel-arm64 | OK | 76 | ||
| windows-devel | OK | 105 | ||
| windows-release | OK | 97 | ||
| windows-oldrel | OK | 109 | ||
| wasm-release | OK | 111 |
Exports:arrangeTPRScompute_effective_rangecompute_effective_range_nocheckscompute_lowCurvecomputeScomputeTPRSfind_first_zero_crossfind_zeros_crossfitLoess
Dependencies:classdotCall64fieldsflexclustlatticemapsMASSMatrixmgcvmodeltoolsnlmeRColorBrewerRcppspamviridisLite
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Compute effective range | compute_effective_range compute_effective_range_nochecks |
| Compute loess curves for smoothing matrix | compute_lowCurve |
| Compute Smoothing Matrix | computeS |
| Create TPRS basis | arrangeTPRS computeTPRS |
| Find zero | find_first_zero_cross |
| Find distance to first zero | find_zeros_cross |
| Fit a loess curve | fitLoess |
