sdsfun
R package sdsfun by stscl — release notes from GitHub.
A spatial-statistics utility package exists to be depended on, and is built accordingly.
◆Recent moves
- 10mo ago
Package load stops touching the RNG state
Small in size, real in consequence: a package that seeded the RNG merely by being loaded could shift results in any downstream analysis that set a seed and then attached it. Alongside it, cor_test no longer misreads matrix inputs as vectors, and an Armadillo deprecation is cleared.
View source ↗ - 1y ago
Unified partial correlation testing and head/tails discretization
cor_test consolidates correlation and partial correlation testing behind one interface, continuing the pattern of centralising what dependents would otherwise duplicate. The head/tails breaking method adds a discretization scheme suited to heavy-tailed spatial distributions, where equal-interval and quantile breaks perform poorly.
View source ↗ - 1y ago
Missing-value handling added to linear trend removal
A single targeted fix to how rm_lineartrend() treats NA values. No other change in the release.
View source ↗ - 1y ago
Covariate-based detrending and long-to-matrix spatial reshaping
Extends trend removal from a simple linear fit to one conditioned on a covariate, and adds conversion of long-form tables into matrices matching two-dimensional spatial positions. Both are preparation steps that every dependent package would otherwise implement separately.
View source ↗ - 1y ago
Spatially constrained hierarchical clustering and SPADE estimation
hclustgeo_disc brings clustering with spatial soft constraints into the shared toolkit, and spade_psd adds a fast SPADE model estimator to sit beside the geodetector routine added a week earlier. Part of the dense late-2024 build-out where the package acquired most of its surface.
View source ↗ - 1y ago
Fast geodetector q-value estimator added
A single-function release adding fast estimation of the geodetector q-value, the central statistic of the geographical detector method. Its arrival as a standalone routine here rather than inside gdverse is the consolidation pattern in miniature.
View source ↗