Package: telefit 1.0.3

Joshua Hewitt

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.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://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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

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

openblascpp

1.49 score 31 scripts 149 downloads 20 exports 59 dependencies

Last updated 5 years agofrom:5dc0901767. Checks:OK: 1 NOTE: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 08 2024
R-4.5-linux-x86_64NOTEDec 08 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