Tools for Spatial Data

For curve, surface and function fitting with an emphasis on splines, spatial data and spatial statistics. The major methods include cubic, and thin plate splines, Kriging and compact covariances for large data sets. The splines and Kriging methods are supported by functions that can determine the smoothing parameter (nugget and sill variance) and other covariance parameters by cross validation and also by restricted maximum likelihood. For Kriging there is an easy to use function that also estimates the correlation scale (range parameter). A major feature is that any covariance function implemented in R and following a simple format can be used for spatial prediction. There are also many useful functions for plotting and working with spatial data as images. This package also contains an implementation of sparse matrix methods for large spatial data sets and currently requires the sparse matrix (spam) package. Use help(fields) to get started and for an overview. The fields source code is deliberately commented and provides useful explanations of numerical details in addition to the manual pages. The commented source code can be viewed by expanding the package source code "tarball" (ending in tar.gz) and looking in the R subdirectory. Please cite fields along with its DOI in your publications!


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


8.10 by Douglas Nychka, 2 months ago

Browse source code at

Authors: Douglas Nychka [aut, cre], Reinhard Furrer [aut], John Paige [aut], Stephan Sain [aut]

Documentation:   PDF Manual  

Task views: Analysis of Spatial Data

GPL (>= 2) license

Depends on methods, spam, maps

Imported by ADPclust, BPEC, BayesLCA, Biolinv, CARrampsOcl, ClimDown, Compositional, ConR, DSsim, EGRET, ETAS, FLightR, GEOmap, GSODR, GeoLight, LICORS, LMERConvenienceFunctions, ModelMap, OptimaRegion, RNCEP, RsimMosaic, SpATS, SpatMCA, SpatialExtremes, SpectralMap, StMoMo, SurvCorr, TED, TideCurves, VRPM, WRTDStidal, astrochron, autoimage, bayesPop, bipartite, biwavelet, bkmr, briskaR, chillR, convoSPAT, cope, corr2D, earlywarnings, eemR, etasFLP, factorcpt, fdasrvf, fifer, funData, funcy, gapfill, georob, geospt, goeveg, hglasso, hht, infraFDTD.assist, letsR, lgcp, ltsk, mclcar, nucim, oceanmap, popsom, prevR, qat, qlcVisualize, rNOMADS, ramps, rworldmap, smerc, spBayesSurv, sparseBC, spatsurv, sppmix, stocc, subspaceMOA, topologyGSA, treescape, vmsbase, warpMix.

Depended on by ASMap, BaySIC, CCA, Canopy, EMD, Geneland, LSC, LatticeKrig, ProbForecastGOP, R2GUESS, SpatialVx, SpherWave, SynchWave, TIMP, TrackReconstruction, UncerIn2, Voss, aSPU, cmsaf, crqa, fpa, geoelectrics, geosptdb, gptk, gwrr, highriskzone, ibeemd, mgpd, mvLSW, paramGUI, phenology, phylotools, sGPCA, spThin, spatialfil, stilt, verification, wux.

Suggested by CompRandFld, DeLorean, EFDR, FDboost, HelpersMG, IPMpack, MBHdesign, RSA, SPOT, SpatioTemporal, Thermimage, asymLD, backShift, bamlss, bigGP, climatol, crimelinkage, ensembleBMA, ensembleMOS, expectreg, extRemes, gstat, lava, mboost, mlr, npsp, palaeoSig, popgraph, smoothie, spTest, spam.

See at CRAN