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:Kayleigh Keller [aut, cre], Maddie Rainey [aut]

spconf_1.0.2.tar.gz
spconf_1.0.2.zip(r-4.7-any)spconf_1.0.2.zip(r-4.6-any)spconf_1.0.2.zip(r-4.5-any)
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✨
DESCRIPTION
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

On CRAN:

Conda:

2.70 score 2 scripts 308 downloads 9 exports 14 dependencies

Last updated from:9f549e2ad1. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK147
source / vignettesOK260
linux-releaseOK148
macos-releaseOK120
macos-oldrelOK78
windows-develOK86
windows-releaseOK92
windows-oldrelOK88
wasm-releaseOK101

Exports:arrangeTPRScompute_effective_rangecompute_effective_range_nocheckscompute_lowCurvecomputeScomputeTPRSfind_first_zero_crossfind_zeros_crossfitLoess

Dependencies:classdotCall64fieldsflexclustlatticemapsMatrixmgcvmodeltoolsnlmeRColorBrewerRcppspamviridisLite

Readme and manuals

Help Manual

Help pageTopics
Compute effective rangecompute_effective_range compute_effective_range_nochecks
Compute loess curves for smoothing matrixcompute_lowCurve
Compute Smoothing MatrixcomputeS
Create TPRS basisarrangeTPRS computeTPRS
Find zerofind_first_zero_cross
Find distance to first zerofind_zeros_cross
Fit a loess curvefitLoess