Package: sptrends 1.6.3

sptrends: Statistical Inference for Spatiotemporal Trends in Gridded Data

Provides a unified and reproducible framework for statistical inference of spatiotemporal trends in gridded environmental data. The framework addresses the interconnected challenges of serial correlation, spatial dependence and multiple testing that commonly arise when analysing gridded environmental time series. Its core methods support serial-correlation treatment through trend-preserving prewhitening, pixel-wise and spatially explicit trend inference, slope estimation and multiple-testing correction. These methods may be applied independently or integrated within configurable analytical workflows. Dedicated workflows are also provided to reproduce methodologies published in the scientific literature: Gutiérrez-Hernández and García (2025) <doi:10.1016/j.rsase.2024.101377> for the True Significant Trends workflow, Gutiérrez-Hernández and García (2024) <doi:10.3390/rs16203886> for the Robust Trend Analysis workflow, and Gutiérrez-Hernández and García (2025) <doi:10.3390/math13223630> for the adaptive false discovery rate procedure. Supporting utilities facilitate raster data import and inspection, anomaly calculation, spatial autocorrelation diagnostics, simulation studies, benchmarking, visualisation, mapping, and reporting.

Authors:Oliver Gutiérrez-Hernández [aut, cre], Luis V. García [aut]

sptrends_1.6.3.tar.gz
sptrends_1.6.3.zip(r-4.7-any)sptrends_1.6.3.zip(r-4.6-any)sptrends_1.6.3.zip(r-4.5-any)
sptrends_1.6.3.tgz(r-4.6-any)sptrends_1.6.3.tgz(r-4.5-any)
sptrends_1.6.3.tar.gz(r-4.7-any)sptrends_1.6.3.tar.gz(r-4.6-any)
sptrends_1.6.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sptrends/json (API)

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

Bug tracker:https://github.com/olive-r/sptrends/issues

Pkgdown/docs site:https://olive-r.github.io

On CRAN:

Conda:

4.78 score 1 stars 421 downloads 19 exports 5 dependencies

Last updated from:4c3413de8d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK326
source / vignettesOK235
linux-releaseOK334
macos-releaseOK230
macos-oldrelOK211
windows-develOK277
windows-releaseOK282
windows-oldrelOK197
wasm-releaseOK142

Exports:benchmark_methodsbenchmark_summarycompare_detectionscompute_anomaliesexample_datafdr_correctioninspect_ts_cellprepare_cmk_neighbourhoodprewhitenread_netcdf_stackread_ordered_stacksim_trend_stacksimulation_designslope_estimatorspatial_autocorrelationtrend_testworkflow_rtaworkflow_trendsworkflow_tst

Dependencies:latticeMatrixRcppterrawithr

Loading and exploring spatiotemporal data
Why this matters | What read_ordered_stack() and read_netcdf_stack() do | Basic workflow | Understanding the results | Declaring seasonal input | Analytical outputs | Choosing the main options | Common mistakes | Next steps | Further details | References

Last update: 2026-09-23
Started: 2026-09-23

Dealing with serial correlation
Why this matters | What prewhiten() does | Basic workflow | Understanding the results | Choosing the main options | Common mistakes | Next steps | Further details | References

Last update: 2026-09-23
Started: 2026-09-23

Trend inference and statistical significance
Why this matters | What trend_test() does | Basic workflow | Understanding the results | Choosing the main options | Common mistakes | Next steps | Further details | References

Last update: 2026-09-23
Started: 2026-09-23

Trend magnitude estimation
Why this matters | What slope_estimator() does | Basic workflow | Understanding the results | Choosing the main options | Common mistakes | Next steps | Further details | References

Last update: 2026-09-23
Started: 2026-09-23

Correcting for multiple testing
Why this matters | What fdr_correction() does | Basic workflow | Understanding the results | Choosing the main options | Common mistakes | Next steps | Further details | References

Last update: 2026-09-23
Started: 2026-09-23

Trend workflows and published methods
Why this matters | What workflow_trends() does | Basic workflow | Understanding the results | Choosing the main options | Published workflows | Common mistakes | Next steps | Further details | References

Last update: 2026-09-23
Started: 2026-09-23