fields: Tools for Spatial Data

For curve, surface and function fitting with an emphasis on splines, spatial data, geostatistics, and spatial statistics. The major methods include cubic, and thin plate splines, Kriging, and compactly supported covariance functions 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 function 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 as a companion to the manual pages. The commented source code can be viewed by expanding the source code version and looking in the R subdirectory. The reference for fields can be generated by the citation function in R and has DOI <doi:10.5065/D6W957CT>. Development of this package was supported in part by the National Science Foundation Grant 1417857, the National Center for Atmospheric Research, and Colorado School of Mines. See the Fields URL for a vignette on using this package and some background on spatial statistics.

Version: 16.2
Depends: R (≥ 3.5.0), methods, spam, viridisLite
Imports: maps
Published: 2024-06-27
DOI: 10.32614/CRAN.package.fields
Author: Douglas Nychka [aut, cre], Reinhard Furrer [aut], John Paige [aut], Stephan Sain [aut], Florian Gerber [aut], Matthew Iverson [aut], Rider Johnson [aut]
Maintainer: Douglas Nychka <douglasnychka at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: fields citation info
In views: Spatial
CRAN checks: fields results


Reference manual: fields.pdf


Package source: fields_16.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): fields_16.2.tgz, r-oldrel (arm64): fields_16.2.tgz, r-release (x86_64): fields_16.2.tgz, r-oldrel (x86_64): fields_16.2.tgz
Old sources: fields archive

Reverse dependencies:

Reverse depends: aSPU, Canopy, CCA, CNLTtsa, EMD, ExpAnalysis3d, fcr, FCSlib, fpa, geoelectrics, GeoModels, geosptdb, gwrr, highriskzone, LatticeKrig, metapone, mvLSW, RadioSonde, RnBeads, SpatialVx, SpeCond, spThin, SynchWave, TIMP, TrackReconstruction, verification, Voss
Reverse imports: ADPclust, AHMbook, ASMap, astrochron, autoFRK, autoimage, aweSOM, BallMapper, BayesLCA, BayesNetBP, bayesPop, biClassify, bipartite, biwavelet, bkmr, BMRMM, BoundaryStats, BRcal, ccTensor, chillR, ciftiTools, CJIVE, cmR, cmsafops, cmsafvis, CoastlineFD, convoSPAT, cope, corr2D, CSHShydRology, dartR, dartR.sim, dcTensor, demu, DesignCTPB, distantia, DNAshapeR, earlywarnings, eDITH, EGRET, envi, ETAS, etasFLP, expectreg, fcfdr, fdasrvf, fence, FLightR, fnets, foreSIGHT, fsbrain, funData, gainML, gapfill, gateR, GeneralizedWendland, GeoAdjust, GEOmap, georob, geospt, goeveg, GPFDA, GPvecchia, GRIDCOPULA, hero, hglasso, hht, Hmsc, iCNV, infraFDTD.assist, JOPS, klovan, landsepi, lgcp, LMERConvenienceFunctions, mappoly, ModelMap, MOLHD, mousetrap, mrbsizeR, MRFA, MSmix, Mulcom, MultiObjMatch, NCutYX, nnTensor, nucim, oceanmap, OCNet, OptimaRegion, paramGUI, PEIP, pepStat, plsgenomics, ppgm, prevR, pspatreg, qfa, qlcVisualize, ramps, reslr, RFOC, rhcoclust, rivnet, RNAinteractMAPK, RNCEP, rNOMADS, robflreg, RPANDA, rsat, RsimMosaic, rworldmap, SafeVote, scBio, scDD, SeBR, Semblance, SensMap, siland, sincell, singleCellTK, smosr, socialmixr, soilphysics, spant, sparrpowR, sparseBC, SpatialExtremes, spatialLIBD, SpatialVS, SpATS, spatsurv, spBayesSurv, SpectralMap, spm2, spmoran, stilt, StMoMo, stocc, stopp, stxplore, SUMMER, SurvCorr, telefit, TFARM, TideCurves, topologyGSA, treespace, uci, Umatrix, vectorwavelet, voluModel, vote, warpMix, wavScalogram, waywiser, WRTDStidal, wsyn
Reverse suggests: AMAPVox, asymLD, backShift, bamlss, bandle, bigGP, bisque, climatol, dartR.base, dartR.captive, dartR.popgen, DEGraph, ebirdst, EFDR, ensembleBMA, ensembleMOS, epimdr, epimdr2, ExtremalDep, extRemes, fdaACF, FDboost, GeneralizedUmatrix, GpGp, gravmagsubs, greta, gstat, guidedPLS, HelpersMG, HPLB, HRW, lava, MBHdesign, mboost, multiocc, npsp, pedometrics, phenology, prioritizr, ProjectionBasedClustering, pRoloc, QUBIC, R2BayesX, raster, recurse, RSA, RSAtools, SimSurvey, smoothie, spam, SpatMCA, SpatPCA, SpiceFP, spreval, steps, swdft, Thermimage


Please use the canonical form to link to this page.