Package: LatticeKrig 9.3.0

LatticeKrig: Multi-Resolution Kriging Based on Markov Random Fields

Methods for the interpolation of large spatial datasets. This package uses a basis function approach that provides a surface fitting method that can approximate standard spatial data models. Using a large number of basis functions allows for estimates that can come close to interpolating the observations (a spatial model with a small nugget variance.) Moreover, the covariance model for this method can approximate the Matern covariance family but also allows for a multi-resolution model and supports efficient computation of the profile likelihood for estimating covariance parameters. This is accomplished through compactly supported basis functions and a Markov random field model for the basis coefficients. These features lead to sparse matrices for the computations and this package makes of the R spam package for sparse linear algebra. An extension of this version over previous ones ( < 5.4 ) is the support for different geometries besides a rectangular domain. The Markov random field approach combined with a basis function representation makes the implementation of different geometries simple where only a few specific R functions need to be added with most of the computation and evaluation done by generic routines that have been tuned to be efficient. One benefit of this package's model/approach is the facility to do unconditional and conditional simulation of the field for large numbers of arbitrary points. There is also the flexibility for estimating non-stationary covariances and also the case when the observations are a linear combination (e.g. an integral) of the spatial process. Included are generic methods for prediction, standard errors for prediction, plotting of the estimated surface and conditional and unconditional simulation. See the 'LatticeKrigRPackage' GitHub repository for a vignette of this package. Development of this package was supported in part by the National Science Foundation Grant 1417857 and the National Center for Atmospheric Research.

Authors:Douglas Nychka [aut, cre], Dorit Hammerling [aut], Stephan Sain [aut], Nathan Lenssen [aut], Colette Smirniotis [aut], Matthew Iverson [aut], Antony Sikorski [aut]

LatticeKrig_9.3.0.tar.gz
LatticeKrig_9.3.0.zip(r-4.5)LatticeKrig_9.3.0.zip(r-4.4)LatticeKrig_9.3.0.zip(r-4.3)
LatticeKrig_9.3.0.tgz(r-4.4-x86_64)LatticeKrig_9.3.0.tgz(r-4.4-arm64)LatticeKrig_9.3.0.tgz(r-4.3-x86_64)LatticeKrig_9.3.0.tgz(r-4.3-arm64)
LatticeKrig_9.3.0.tar.gz(r-4.5-noble)LatticeKrig_9.3.0.tar.gz(r-4.4-noble)
LatticeKrig_9.3.0.tgz(r-4.4-emscripten)LatticeKrig_9.3.0.tgz(r-4.3-emscripten)
LatticeKrig.pdf |LatticeKrig.html
LatticeKrig/json (API)

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

Peer review:

Datasets:

On CRAN:

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

2.95 score 1 packages 150 scripts 740 downloads 2 mentions 132 exports 8 dependencies

Last updated 1 months agofrom:44dc82ce30. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-win-x86_64OKNov 09 2024
R-4.5-linux-x86_64OKNov 09 2024
R-4.4-win-x86_64OKNov 09 2024
R-4.4-mac-x86_64OKNov 09 2024
R-4.4-mac-aarch64OKNov 09 2024
R-4.3-win-x86_64OKNov 09 2024
R-4.3-mac-x86_64OKNov 09 2024
R-4.3-mac-aarch64OKNov 09 2024

Exports:Awght2OmegaconvertIndexArrayconvertIndexPeriodiccreateLKrigObjectdirectionCosinesexpandMatrixexpandMatrix0expandMListfindnormgrid2IndexgridListInfoIcosahedronFacesIcosahedronGridLambdaAwghtObjectiveFunctionLatticeKrigLatticeKrigEasyDefaultsLKArrayShiftLKBoxCreateLatticeLKDefaultVarNameslkdiagLKDiaglkdistLKDistlkdistcompLKDistComponentslkdistgridLKDistGridlkdistgridcompLKDistGridComponentsLKFindAlphaVarianceWeightsLKFindSigma2VarianceWeightsLKGridCheckLKGridFindNmaxLKinfoCheckLKinfoCheck.defaultLKinfoCheck.LKRectangleLKinfoUpdateLKIntervalCreateLatticeLKRectangleCreateLatticeLKRectangleSetupNormalizationLKrigLKrig.basisLKrig.coefLKrig.covLKrig.cov.plotLKrig.lnPlikeLKrig.make.par.gridLKrig.MLELKrig.precisionLKrig.quadraticformLKrig.rowshiftLKrig.rowshift.periodicLKrig.shift.matrixLKrig.simLKrig.sim.conditionalLKrig.spind2spamLKrig.traceALKrigCovWeightedObsLKrigDefaultFixedFunctionLKrigDistanceLKrigFindLambdaLKrigFindLambdaAwghtLKrigLatticeCentersLKrigLatticeCenters.defaultLKrigLatticeCenters.LKBoxLKrigLatticeCenters.LKCylinderLKrigLatticeCenters.LKIntervalLKrigLatticeCenters.LKRectangleLKrigLatticeCenters.LKRingLKrigLatticeCenters.LKSphereLKrigLatticeScalesLKrigLatticeScales.defaultLKrigMakewULKrigMakewXLKrigMarginalVarianceLKrigNormalizeBasisLKrigNormalizeBasisFastLKrigNormalizeBasisFast.defaultLKrigNormalizeBasisFast.LKRectangleLKrigNormalizeBasisFFTInterpolateLKrigNormalizeBasisSelectorLKrigPeriodicFixedFunctionLKrigSARLKrigSAR.defaultLKrigSAR.LKBoxLKrigSAR.LKCylinderLKrigSAR.LKIntervalLKrigSAR.LKRectangleLKrigSAR.LKRingLKrigSAR.LKSphereLKrigSetupLKrigSetupAlphaLKrigSetupAlpha.defaultLKrigSetupAwghtLKrigSetupAwght.defaultLKrigSetupAwght.LKRectangleLKrigSetupAwghtObjectLKrigSetupLatticeLKrigSetupLattice.defaultLKrigSetupLattice.LKBoxLKrigSetupLattice.LKCylinderLKrigSetupLattice.LKIntervalLKrigSetupLattice.LKRectangleLKrigSetupLattice.LKRingLKrigSetupLattice.LKSphereLKrigUnrollZGridomega2Awghtpredict.LKrigpredictLKrigFixedFunctionpredictSE.LKrigpredictSurface.LKrigprint.LatticeKrigprint.LKinfoprint.LKrigprojectionSphereRadial.basisrepMatrixsetDefaultsLKinfosetDefaultsLKinfo.defaultsetDefaultsLKinfo.LKBoxsetDefaultsLKinfo.LKCylindersetDefaultsLKinfo.LKIntervalsetDefaultsLKinfo.LKRectanglesetDefaultsLKinfo.LKRingsetDefaultsLKinfo.LKSpheresimConditionalDrawsummary.LKrigsurface.LKrigTensor.basistoSpheretriWeightWendlandFunction

Dependencies:dotCall64fftwtoolsfieldsmapsRcppspamspam64viridisLite

Readme and manuals

Help Manual

Help pageTopics
Utility functions for spherical coordinate and projections.directionCosines projectionSphere toSphere
Class '"gridList"'. A description of a regular and multidimensional grid.gridList gridList-class gridListInfo
Icosahedral multi-resolution gridsIcosahedronFaces IcosahedronGrid
Synthetic data for kriging examplesKrigingExampleData
User-friendly spatial prediction and inference using a compactly supported multi-resolution basis and a lattice model for the basis coefficients.LatticeKrig print.LatticeKrig
Create a matrix with given entries on the given diagonalsLKDiag
Find all pairwise distances within a maximum distance.LKDist LKDistComponents LKDistGrid LKDistGridComponents LKGridCheck LKGridFindNmax
Tailoring the LatticeKrig model to a specific geometry.LKBox LKGeometry LKInterval
Check the LKinfo objectLKinfoCheck LKinfoCheck.default LKinfoCheck.LKRectangle
Summary of the LKRectangle geometry for a standard two dimensional spatial domain.LKRectangle
Spatial prediction and inference using a compactly supported multi-resolution basis and a lattice model for the basis coefficients.choleskyMemory createLKrigObject LKrig predict.LKrig predictSE.LKrig predictSurface.LKrig print.LKinfo print.LKrig summary.LKrig surface.LKrig
Internal functions for LatticeKrig package.dfind2d dfind3d LKDefaultVarNames LKrig.coef LKrig.lnPlike LKrig.traceA LKrigMakewU LKrigMakewX LKrigUnrollZGrid
Miscellaneous internal functions for LatticeKrig package.convertIndexArray convertIndexPeriodic expandMatrix expandMatrix0 expandMList grid2Index LKArrayShift LKrig.rowshift LKrig.rowshift.periodic LKrig.shift.matrix repMatrix
High level functions for generating and simulating a basis function,Gaussian Process.LKFindSigma2VarianceWeights LKrig.basis LKrig.cov LKrig.cov.plot LKrig.precision LKrig.quadraticform LKrig.spind2spam LKrigCovWeightedObs LKrigMarginalVariance
Functions to search over covariance parameters in the LatticeKrig model.Awght2Omega LambdaAwghtObjectiveFunction LKrig.make.par.grid LKrig.MLE LKrigFindLambda LKrigFindLambdaAwght omega2Awght
Functions for simulating a multi resolution process following the Lattice Krig covariance model.LKrig.sim LKrig.sim.conditional simConditionalDraw
Creates fixed part of spatial model.LKrigDefaultFixedFunction LKrigPeriodicFixedFunction predictLKrigFixedFunction
Distance function methods for 'LKrigDistance' in Package 'LatticeKrig'LKrigDistance LKrigDistance,matrix,gridList,numeric-method LKrigDistance,matrix,matrix,numeric-method LKrigDistance-methods
Methods to report the locations or scales associated with the lattice points.LKrigLatticeCenters LKrigLatticeCenters.default LKrigLatticeCenters.LKBox LKrigLatticeCenters.LKCylinder LKrigLatticeCenters.LKInterval LKrigLatticeCenters.LKRectangle LKrigLatticeCenters.LKRing LKrigLatticeCenters.LKSphere LKrigLatticeScales LKrigLatticeScales.default
Methods and functions to support normalizing to marginal variance of one.LKRectangleSetupNormalization LKrigNormalizeBasis LKrigNormalizeBasisFast LKrigNormalizeBasisFast.default LKrigNormalizeBasisFast.LKRectangle LKrigNormalizeBasisFFTInterpolate LKrigNormalizeBasisSelector
Method that creates the spatial autoregressive (SAR) matrix.LKrigSAR LKrigSAR.default LKrigSAR.LKBox LKrigSAR.LKCylinder LKrigSAR.LKInterval LKrigSAR.LKRectangle LKrigSAR.LKRing LKrigSAR.LKSphere
Create or update the LatticeKrig model object (LKinfo) for spatial fitting.LatticeKrigEasyDefaults LKinfo LKinfoUpdate LKrigSetup
Creates the alpha parameter list in LatticeKrig covariance.LKFindAlphaVarianceWeights LKrigSetupAlpha LKrigSetupAlpha.default LKrigSetupAlpha.LKBox LKrigSetupAlpha.LKInterval LKrigSetupAlpha.LKRectangle
Method to create a.wght component from the 'LKinfo' object.LKrigSetupAwght LKrigSetupAwght.default LKrigSetupAwght.LKRectangle LKrigSetupAwghtObject
Creates the lattice information for a specific geometry.LKBoxCreateLattice LKIntervalCreateLattice LKRectangleCreateLattice LKrigSetupLattice LKrigSetupLattice.default LKrigSetupLattice.LKBox LKrigSetupLattice.LKCylinder LKrigSetupLattice.LKInterval LKrigSetupLattice.LKRectangle LKrigSetupLattice.LKRing LKrigSetupLattice.LKSphere
Specifying non-stationary modelsnonstationaryModels
Two dimensional radial and tensor basis functions based on a Wendland function.LKrig.cyl Radial.basis Tensor.basis triWeight WendlandFunction
Internal FORTRAN routines for working with grids and finding distances.findnorm lkdiag lkdist lkdistcomp lkdistgrid lkdistgridcomp
Method for including default information in the LKinfo object.setDefaultsLKinfo setDefaultsLKinfo.default setDefaultsLKinfo.LKBox setDefaultsLKinfo.LKCylinder setDefaultsLKinfo.LKInterval setDefaultsLKinfo.LKRectangle setDefaultsLKinfo.LKRing setDefaultsLKinfo.LKSphere
Geometries to represent 2-d and 3-d spherical data.LKCylinder LKRing LKSphere
Data examples for the LatticeKrig VignetteEquatorData equatorGrid equatorGridValues equatorLocations equatorValues PolarData polarGrid polarGridValues polarLocations polarValues