Learn R Programming

⚠️There's a newer version (16.3) of this package.Take me there.

fields (version 1.7.2)

Tools for spatial data

Description

Fields is a collection of programs for curve and function fitting with an emphasis on spatial data and spatial statistics. The major methods implemented include cubic, robust, and thin plate splines, universal Kriging and Kriging for large data sets. One main feature is any covariance function implemented in R can be used for spatial prediction. There are also some useful functions for plotting and working with spatial data as images. This package also contains implementation of a smooth wavelet basis suitable for spatial models.

Copy Link

Version

Install

install.packages('fields')

Monthly Downloads

46,589

Version

1.7.2

License

GPL Version 2 or later.

Maintainer

Douglas Nychka

Last Published

October 1st, 2024

Functions in fields (1.7.2)

lennon

Gray image of John Lennon.
vgram

Finds a traditional or robust variogram for spatial data.
bplot

boxplot
gcv.Krig

Finds profile likelihood and GCV estimates of smoothing parameters
interp.surface

Fast bilinear interpolator from a grid.
plot.Krig

Diagnostic and summary plots of the Krig object
grid list

Grid list for describing equally spaced grids
ozone2

Daily 8-hour ozone averages for sites in the Midwest
as.surface

Creates an "surface" object from grid values.
image.count

Creates image for a 2-d histogram from irregular locations
US.dat

Outline of coterminous US and states.
transformx

Linear transformation
BD

Data frame of the effect of buffer compositions on DNA strand displacement amplification. A 4-d regression data set with with replication. This is a useful test data set for exercising function fitting methods.
image.smooth

Kernel smoother for irregular 2-d data
stats

Calculate summary statistics
xline

Draw a vertical line
plot.Wimage.info

plot to check 2-d multiresolution indexing.
print.Krig

Print kriging fit results.
world

Plot of the world
make.Amatrix

Matrix relating predicted values to the dependent (Y) values
tim.colors

Tim's useful color table
Wtransform

Quadratic W wavelet transform for 1-d vectors or rectangular or cylindrical images
as.image

Creates image from irregular x,y,z
image.cov

Exponential,Gaussian, "power" and Matern covariance functions for 2-d gridded locations
W.info

Gives indexing imfomration for a wavelet decompostion
image.plot

Draws image plot with a legend strip for the color scale.
set.panel

Specify a panel of plots
sim.rf

Simulates a random field
bplot.xy

Boxplots for conditional distribution
predict.se

Standard errors of predictions
rdist

Euclidean distance matrix
US

Plot of the US with state boundaries
qsreg

Quantile or Robust spline regression
fields internal

Fields internal and secondary functions
krig.image

Spatial process estimate for large irregular 2-d dats sets.
Tps

Thin plate spline regression
summary.Krig

Summary for Krig spatial process estimate
predict.se.Krig

Standard errors of predictions for Krig spatial process estimate
splint

Cubic spline interpolation
exp.cov

Exponential, Gaussian and "power" covariance family
Wimage.info

Finds key indices related to a 2-d multiresolution
plot.surface

Plots a surface
fields

fields - tools for spatial data
smooth.2d

Kernel smoother for irregular 2-d data
predict.surface

Evaluates a fitted function as a surface object
minitri

Mini triathlon results
cover.design

Computes Space-Filling "Coverage" designs using Swapping Algorithm
matern.cov

Matern covariance function
make.Amatrix.Krig

Computes the prediction matrix for a Krig fit.
Krig

Kriging surface estimate
rdist.earth

Great circle distance matrix
stats.bin

Bins data and finds some summary statistics.
Wimage.cov

Functions for W-transform based covariance models
plot.Wimage

Plots 2-d wavelet coefficents by level and type
predict.surface.se

Standard errors of predictions
sreg

Smoothing spline regression
predict.Krig

Evaluation of Krig spatial process estimate.
surface.Krig

Plots a surface and contours
yline

Draw horizontal lines
poisson.cov

Poisson spherical covariance function
vgram.matrix

Computes a variogram from an image
arrow.plot

Adds arrows to a plot
plot.sreg

Plots smoothing spline regression object
flame

Response surface experiment ionizing a reagent
RMprecip

Standardized monthly precipitation for August 1963 inteh Rocky Mountain Region
rat.diet

Experiment studying an appetite supressant in rats.
ozone

Data set of ozone measurements at 20 Chicago monitoring stations.