Package: spconf 1.0.1

Kayleigh Keller

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.1.tar.gz
spconf_1.0.1.tar.gz(r-4.5-noble)spconf_1.0.1.tar.gz(r-4.4-noble)
spconf_1.0.1.tgz(r-4.4-emscripten)spconf_1.0.1.tgz(r-4.3-emscripten)
spconf.pdf |spconf.html
spconf/json (API)

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

Peer review:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 2 scripts 9 exports 8 dependencies

Last updated 20 days agofrom:3caf1e76ff. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-linuxOKNov 04 2024

Exports:arrangeTPRScompute_effective_rangecompute_effective_range_nocheckscompute_lowCurvecomputeScomputeTPRSfind_first_zero_crossfind_zeros_crossfitLoess

Dependencies:classflexclustlatticeMASSMatrixmgcvmodeltoolsnlme

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