Package: tidyeof 0.1.0

Nicolas Gauthier

tidyeof: Tidy Empirical Orthogonal Functions and Spatial Downscaling

An R package for conducting empirical orthogonal function (EOF) analysis in the tidyverse framework. Functions to isolate modes of variability from spatiotemporal data, run various diagnostics, and use these patterns for spatial downscaling via canonical correlation analysis.

Authors:Nicolas Gauthier [aut, cre]

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

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

Bug tracker:https://github.com/nick-gauthier/tidyeof/issues

On CRAN:

Conda:

quarto

3.95 score 3 stars 6 scripts 22 exports 48 dependencies

Last updated from:5e359770d5. Checks:7 ERROR, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develERROR259
source / vignettesOK288
linux-releaseERROR209
macos-releaseERROR180
macos-oldrelERROR172
windows-develERROR166
windows-releaseERROR190
windows-oldrelERROR239
wasm-releaseOK127

Exports:area_weightscommon_patternscoupleeigen_testget_anomaliesget_canonical_correlationsget_canonical_patternsget_canonical_variablesget_climatologyget_correlationget_fdrpatternsprep_cv_foldsprep_foldsproject_patternsproject_patterns_multiplereconstructrestore_climatologysummarize_cvsummarize_eof_cvtune_ccatune_eof

Dependencies:abindclassclassIntclicpp11cubelyrDBIdplyre1071farvergenericsggplot2gluegtableirlbaisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixpillarpkgconfigproxypurrrR6RColorBrewerRcpprlangs2S7scalesscicosfstarsstringistringrtibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk

Cross-Validation and Tuning
Overview | Setup | Tuning EOF truncation | Tuning CCA downscaling | Preparing folds | Grid search | Tuning k_cca separately | Fold construction | Parallel execution | Best practices

Last update: 2026-06-10
Started: 2026-02-25

EOF Analysis with tidyeof
Overview | Example data | Climatology and anomalies | Extracting patterns | Plotting | Scree plot and significance | Rotation | Subsetting patterns | Reconstruction | Projection | Teleconnections | Area weighting | Overlays | References

Last update: 2026-02-25
Started: 2026-02-25

Statistical Downscaling with CCA
Overview | Setup: predictor and response data | Step 1: Extract patterns | Step 2: Couple with CCA | Diagnostics | Step 3: Predict | Amplitudes only | Common patterns for multi-source downscaling | Next steps | References

Last update: 2026-02-25
Started: 2026-02-25

Readme and manuals

Help Manual

Help pageTopics
Extract subset of PCs from a patterns object[.patterns
Compute area-based weights for spatial dataarea_weights
Compute Common EOF Patterns from Multiple Sourcescommon_patterns
Couple Pattern Relationships Using CCAcouple
Test EOF significance using modified Rule Neigen_test
Calculate anomalies from a climatological meanget_anomalies
Get Canonical Correlations from Coupled Patternsget_canonical_correlations
Get Canonical Spatial Patterns from Coupled Patternsget_canonical_patterns
Get Canonical Variables from Coupled Patternsget_canonical_variables
Calculate climatological mean and standard deviation for spatial dataget_climatology
Calculate teleconnections between a patterns object and another layerget_correlation
Calculate FDR-corrected significance contours for teleconnectionsget_fdr
Get EOFs and PCs from spatiotemporal datapatterns
Plot method for common_patterns objectsplot.common_patterns
Plot coupled patterns diagnosticsplot.coupled_patterns
Plot method for patterns objectsplot.patterns
Predict Method for Coupled Patternspredict.coupled_patterns
Prepare cross-validation folds for CCA tuningprep_cv_folds
Prepare contiguous cross-validation foldsprep_folds
Print method for coupled_patternsprint.coupled_patterns
Print method for cv_folds objectsprint.cv_folds
Print method for patterns objectsprint.patterns
Project New Data onto Existing Patternsproject_patterns
Project Multiple Datasets onto Patternsproject_patterns_multiple
Reconstruct spatial field from EOF amplitudesreconstruct
Restore original field from anomalies and climatologyrestore_climatology
Scree plot for EOF patternsscreeplot.patterns
Summarize cross-validation resultssummarize_cv
Summarize EOF cross-validation resultssummarize_eof_cv
Summary method for coupled_patternssummary.coupled_patterns
Tune CCA hyperparameters via cross-validationtune_cca
Cross-validate EOF truncation for a single fieldtune_eof