Learn R Programming

LatticeKrig (version 9.3.0)

Multi-Resolution Kriging Based on Markov Random Fields

Description

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.

Copy Link

Version

Install

install.packages('LatticeKrig')

Monthly Downloads

535

Version

9.3.0

License

GPL (>= 2)

Maintainer

Last Published

October 9th, 2024

Functions in LatticeKrig (9.3.0)

LKRectangle

Summary of the LKRectangle geometry for a standard two dimensional spatial domain.
KrigingExampleData

Synthetic data for kriging examples
LKDiag

Create a matrix with given entries on the given diagonals
LKrig.MLE

Functions to search over covariance parameters in the LatticeKrig model.
LKrig.basis

High level functions for generating and simulating a basis function,Gaussian Process.
LKDist

Find all pairwise distances within a maximum distance.
LKinfoCheck

Check the LKinfo object
IcosahedronGrid

Icosahedral multi-resolution grids
LKGeometry

Tailoring the LatticeKrig model to a specific geometry.
LKrig

Spatial prediction and inference using a compactly supported multi-resolution basis and a lattice model for the basis coefficients.
LKrigDefaultFixedFunction

Creates fixed part of spatial model.
LKrigSAR

Method that creates the spatial autoregressive (SAR) matrix.
LKrigLatticeCenters

Methods to report the locations or scales associated with the lattice points.
LKrigNormalizeBasis

Methods and functions to support normalizing to marginal variance of one.
LKrig Miscellaneous Matrix Functions

Miscellaneous internal functions for LatticeKrig package.
LKrig.sim

Functions for simulating a multi resolution process following the Lattice Krig covariance model.
LKrig Internal

Internal functions for LatticeKrig package.
LKrigSetup

Create or update the LatticeKrig model object (LKinfo) for spatial fitting.
LKrigDistance-methods

Distance function methods for LKrigDistance in Package LatticeKrig
LKrigSetupAlpha

Creates the alpha parameter list in LatticeKrig covariance.
VignetteExamples

Data examples for the LatticeKrig Vignette
nonstationaryModels

Specifying non-stationary models
LKrigSetupLattice

Creates the lattice information for a specific geometry.
LKrigSetupAwght

Method to create a.wght component from the LKinfo object.
Radial.basis

Two dimensional radial and tensor basis functions based on a Wendland function.
Spatial models for data on spherical regions.

Geometries to represent 2-d and 3-d spherical data.
LatticeKrig

User-friendly spatial prediction and inference using a compactly supported multi-resolution basis and a lattice model for the basis coefficients.
registeredFORTRAN

Internal FORTRAN routines for working with grids and finding distances.
setDefaultsLKinfo

Method for including default information in the LKinfo object.
directionCosines

Utility functions for spherical coordinate and projections.
gridList-class

Class "gridList". A description of a regular and multidimensional grid.