Package: telefit 1.0.3

telefit: Estimation and Prediction for Remote Effects Spatial Process Models

Implementation of the remote effects spatial process (RESP) model for teleconnection. The RESP model is a geostatistical model that allows a spatially-referenced variable (like average precipitation) to be influenced by covariates defined on a remote domain (like sea surface temperatures). The RESP model is introduced in Hewitt et al. (2018) <doi:10.1002/env.2523>. Sample code for working with the RESP model is available at <https://jmhewitt.github.io/research/resp_example>. This material is based upon work supported by the National Science Foundation under grant number AGS 1419558. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.

Authors:Joshua Hewitt

telefit_1.0.3.tar.gz
telefit_1.0.3.zip(r-4.5)telefit_1.0.3.zip(r-4.4)telefit_1.0.3.zip(r-4.3)
telefit_1.0.3.tgz(r-4.4-x86_64)telefit_1.0.3.tgz(r-4.4-arm64)telefit_1.0.3.tgz(r-4.3-x86_64)telefit_1.0.3.tgz(r-4.3-arm64)
telefit_1.0.3.tar.gz(r-4.5-noble)telefit_1.0.3.tar.gz(r-4.4-noble)
telefit_1.0.3.tgz(r-4.4-emscripten)telefit_1.0.3.tgz(r-4.3-emscripten)
telefit.pdf |telefit.html
telefit/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/jmhewitt/telefit/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

20 exports 1 stars 0.83 score 59 dependencies 31 scripts 162 downloads

Last updated 5 years agofrom:6815ca6f47. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-win-x86_64NOTESep 04 2024
R-4.5-linux-x86_64NOTESep 04 2024
R-4.4-win-x86_64NOTESep 04 2024
R-4.4-mac-x86_64NOTESep 04 2024
R-4.4-mac-aarch64NOTESep 04 2024
R-4.3-win-x86_64NOTESep 04 2024
R-4.3-mac-x86_64NOTESep 04 2024
R-4.3-mac-aarch64NOTESep 04 2024

Exports:cca.predicteofextractStDataforwardsolve.kronHPDinterval.stFitinvWSampkronSampmaternCovmaternEffectiveRangestEvalstFitstLLstPredictstSimulatestVIFsummariseAlphasummariseEOFAlphasvcFitsvcPredictteleCor

Dependencies:abindclicodacodetoolscolorspacecowplotdotCall64dplyrevaluatefansifarverfieldsforeachgenericsggplot2gluegtablehighrisobanditeratorsitertoolsknitrlabelinglatticelifecyclemagrittrmapsMASSMatrixmgcvmunsellmvtnormnlmepillarpkgconfigplyrR6rasterRColorBrewerRcppRcppArmadilloRcppEigenreshape2rlangscalesscoringRulesspspamstringistringrterratibbletidyselectutf8vctrsviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Convenience function for stacking matrices into an array.abind3
Reshape array of data matrices into long formatarrayToLong
Make predictions using canonical correlation analysis (CCA)cca.predict
Compute point estimates for parameters from posterior samplescoef.stFit
Compute point estimates for parameters from posterior samplescoef.stPredict
Standardized anomalies of CO Precipitationcoprecip
Sample MCMC output for the RESP modelcoprecip.fit
Sample composition sampling output for the RESP modelcoprecip.predict
Evaluate kron(A,B) * C without storing kron(A,B)dgemkmm
Performs an EOF decomposition of the dataeof
Wrapper for a function to dump errors from C++errDump
Extract region from a SpatialGridDataFrameextractRegion
Basic extraction of SpatialGridDataFrame data for teleconnection analysisextractStData
Solves a triangular system with a Kronecker product structureforwardsolve.kron
Compute Highest posterior density intervals from posterior samplesHPDinterval.stFit
Samples an Inverse-Wishart matrixinvWSamp
Samples a multivariate normal with a Kronecker product covariance structurekronSamp
Formatting for longitude scales in ggplot spatial mapslat_trans
Formatting for longitude scales in ggplot spatial mapslon_trans
Matern covariancematernArray
Matern covariancematernCov
Compute effective range for Matern correlation to drop to a specified levelmaternEffectiveRange
Combine results from composition samplermergeComposition
Combine sample covariance matrices from two samplesmergeCovmat
Combine sample means from two samplesmergeMean
Combine sample variances from two samplesmergeVar
Plot stData objectsplot.stData
Plot stFit objectsplot.stFit
Plot stPredict objectsplot.stPredict
Plots teleconnection correlation mapsplot.teleCor
Simulate matrices from matrix normal distributionsrmatnorm
Random wishart matrixrwishart
Basic evaluation of fitstEval
Fit the remote effects spatial process (RESP) modelstFit
Compute log likelihood for modelstLL
Compute forecasts based on posterior samplesstPredict
Simulate responses from the spatio-temporal teleconnection modelstSimulate
Computes variance inflation factors for fixed effects of the teleconnection modelstVIF
Summarize alphassummariseAlpha
Summarize eof-mapped alphassummariseEOFAlpha
Plot stPredict objectssummary.stPredict
Fit a spatially varying coefficient modelsvcFit
Make predictions using a fitted varying coefficient modelsvcPredict
Pointwise correlations for an exploratory teleconnection analysisteleCor
Tools for modeling teleconnectionstelefit