# Tools for spatial data

## Documentation for package ‘fields’ version 6.01

## Help Pages

A B C D E F G H I K L M O P Q R S T U V W X Y

## -- --

%d*% | Basic linear algebra utilities and other computations supporting the Krig function.
%d*%,matrix,matrix-method | Multiplying diagonal matrices in Package 'fields'
%d*%,matrix,numeric-method | Multiplying diagonal matrices in Package 'fields'
%d*%,numeric,matrix-method | Multiplying diagonal matrices in Package 'fields'
%d*%,numeric,numeric-method | Multiplying diagonal matrices in Package 'fields'
%d*%-methods | Multiplying diagonal matrices in Package 'fields'

## -- A --

add.image | Adds an image to an existing plot.
arrow.plot | Adds arrows to a plot
as.image | Creates image from irregular x,y,z
as.surface | Creates an "surface" object from grid values.
average.image | Some simple functions for subsetting images

## -- B --

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.
bplot | boxplot
bplot.xy | Boxplots for conditional distribution

## -- C --

CO.elev | Monthly surface meterology for Colorado 1895-1997
CO.id | Monthly surface meterology for Colorado 1895-1997
CO.loc | Monthly surface meterology for Colorado 1895-1997
CO.names | Monthly surface meterology for Colorado 1895-1997
CO.ppt | Monthly surface meterology for Colorado 1895-1997
CO.ppt.MAM | Monthly surface meterology for Colorado 1895-1997
CO.ppt.MAM.climate | Monthly surface meterology for Colorado 1895-1997
CO.tmax | Monthly surface meterology for Colorado 1895-1997
CO.tmax.MAM | Monthly surface meterology for Colorado 1895-1997
CO.tmax.MAM.climate | Monthly surface meterology for Colorado 1895-1997
CO.tmean.MAM.climate | Monthly surface meterology for Colorado 1895-1997
CO.tmin | Monthly surface meterology for Colorado 1895-1997
CO.tmin.MAM | Monthly surface meterology for Colorado 1895-1997
CO.tmin.MAM.climate | Monthly surface meterology for Colorado 1895-1997
CO.years | Monthly surface meterology for Colorado 1895-1997
CO2 | Simulated global CO2 observations
coef.Krig | Kriging surface estimate
colorbar.plot | Adds color scale strips to an existing plot.
COmonthlyMet | Monthly surface meterology for Colorado 1895-1997
cover.design | Computes Space-Filling "Coverage" designs using Swapping Algorithm
crop.image | Some simple functions for subsetting images
cubic.cov | Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances.

## -- D --

designer.colors | Some useful color tables for images.
discretize.image | Some simple functions for working with gridded data and the grid format (grid.list) used in fields.
drape.color | Perspective plot draped with colors in the facets.
drape.plot | Perspective plot draped with colors in the facets.

## -- E --

Exp.cov | Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances.
Exp.image.cov | Exponential, Matern and general covariance functions for 2-d gridded locations.
Exp.simple.cov | Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances.
Exponential | Covariance functions

## -- F --

fastTps | Thin plate spline regression
fields | fields - tools for spatial data
fields.color.picker | fields - graphics hints
fields.convert.grid | Some simple functions for working with gridded data and the grid format (grid.list) used in fields.
fields.D | Wendland family of covariance functions and supporting numerical functions
fields.derivative.poly | Fields supporting functions
fields.diagonalize | Fields supporting functions
fields.duplicated.matrix | Fields supporting functions
fields.evlpoly | Fields supporting functions
fields.evlpoly2 | Fields supporting functions
fields.hints | fields - graphics hints
fields.mkpoly | Fields supporting functions
fields.pochdown | Wendland family of covariance functions and supporting numerical functions
fields.pochup | Wendland family of covariance functions and supporting numerical functions
fields.rdist.near | Euclidean distance matrix
fields.style | fields - graphics hints
fields.tests | Testing fields functions
fields.x.to.grid | Some simple functions for working with gridded data and the grid format (grid.list) used in fields.
fitted.Krig | Kriging surface estimate
flame | Response surface experiment ionizing a reagent

## -- G --

gcv.Krig | Finds profile likelihood and GCV estimates of smoothing parameters for splines and Kriging.
gcv.sreg | Finds profile likelihood and GCV estimates of smoothing parameters for splines and Kriging.
get.rectangle | Some simple functions for subsetting images
grid list | Some simple functions for working with gridded data and the grid format (grid.list) used in fields.
grid.list | Some simple functions for working with gridded data and the grid format (grid.list) used in fields.

## -- H --

half.image | Some simple functions for subsetting images

## -- I --

image.plot | Draws image plot with a legend strip for the color scale based on either a regular grid or a grid of quadrilaterals.
image.smooth | Kernel smoother for irregular 2-d data
image2lz | Some simple functions for subsetting images
in.poly | Some simple functions for subsetting images
in.poly.grid | Some simple functions for subsetting images
interp.surface | Fast bilinear interpolator from a grid.
interp.surface.grid | Fast bilinear interpolator from a grid.

## -- K --

Krig | Kriging surface estimate
Krig.Amatrix | Smoother (or "hat") matrix relating predicted values to the dependent (Y) values.
Krig.check.xY | Basic linear algebra utilities and other computations supporting the Krig function.
Krig.coef | Basic linear algebra utilities and other computations supporting the Krig function.
Krig.cor.Y | Basic linear algebra utilities and other computations supporting the Krig function.
Krig.engine.default | Basic linear algebra utilities and other computations supporting the Krig function.
Krig.engine.fixed | Basic linear algebra utilities and other computations supporting the Krig function.
Krig.engine.knots | Basic linear algebra utilities and other computations supporting the Krig function.
krig.image | Spatial process estimate for large irregular 2-d dats sets.
Krig.make.u | Basic linear algebra utilities and other computations supporting the Krig function.
Krig.make.W | Basic linear algebra utilities and other computations supporting the Krig function.
Krig.make.Wi | Basic linear algebra utilities and other computations supporting the Krig function.
Krig.null.function | Default function to create fixed matrix part of spatial process model.
Krig.transform.xY | Basic linear algebra utilities and other computations supporting the Krig function.

## -- L --

lennon | Gray image of John Lennon.

## -- M --

make.surface.grid | Some simple functions for working with gridded data and the grid format (grid.list) used in fields.
Matern | Covariance functions
Matern.cor.to.range | Covariance functions
matern.image.cov | Exponential, Matern and general covariance functions for 2-d gridded locations.
minitri | Mini triathlon results
mKrig | "micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function.
mKrig.coef | "micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function.
mKrig.grid | Using MKrig for predicting on a grid.
mKrig.trace | "micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function.

## -- O --

ozone | Data set of ozone measurements at 20 Chicago monitoring stations.
ozone2 | Daily 8-hour ozone averages for sites in the Midwest

## -- P --

parse.grid.list | Some simple functions for working with gridded data and the grid format (grid.list) used in fields.
plot.Krig | Diagnostic and summary plots of a Kriging or spline object
plot.sreg | Diagnostic and summary plots of a Kriging or spline object
plot.surface | Plots a surface
plot.vgram.matrix | Computes a variogram from an image
plot.Wimage | Plots 2-d wavelet coefficents by level and type
poisson.cov | Poisson spherical covariance function
poly.image | Image plot for cells that are irregular quadrilaterals.
poly.image.regrid | Image plot for cells that are irregular quadrilaterals.
predict.derivative.Krig | Evaluation of Krig spatial process estimate.
predict.Krig | Evaluation of Krig spatial process estimate.
predict.mKrig | "micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function.
predict.se | Standard errors of predictions
predict.se.Krig | Standard errors of predictions for Krig spatial process estimate
predict.se.KrigA | Standard errors of predictions for Krig spatial process estimate
predict.se.mKrig | Standard errors of predictions for Krig spatial process estimate
predict.surface | Evaluates a fitted function or its standard errors as a surface object
predict.surface.se | Evaluates a fitted function or its standard errors as a surface object
print.Krig | Print kriging fit results.
print.mKrig | "micro Krig" Spatial process estimate of a curve or surface, "kriging" with a known covariance function.
PRISMelevation | Monthly total precipitation (mm) for August 1963 in the Rocky Mountain Region and some gridded 4km elevation data sets.
pushpin | Adds a "push pin" to an existing 3-d plot

## -- Q --

qsreg | Quantile or Robust spline regression
quilt.plot | Image plot for irregular spatial data.

## -- R --

Rad.cov | Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances.
Rad.image.cov | Exponential, Matern and general covariance functions for 2-d gridded locations.
Rad.simple.cov | Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances.
RadialBasis | Covariance functions
rat.diet | Experiment studying an appetite supressant in rats.
RCMexample | 3-hour precipitation fields from a regional climate model
rdist | Euclidean distance matrix
rdist.earth | Great circle distance matrix
resid.Krig | Kriging surface estimate
ribbon.plot | Adds to an existing plot, a ribbon of color, based on values from a color scale, along a sequence of line segments.
RMelevation | Monthly total precipitation (mm) for August 1963 in the Rocky Mountain Region and some gridded 4km elevation data sets.
RMprecip | Monthly total precipitation (mm) for August 1963 in the Rocky Mountain Region and some gridded 4km elevation data sets.

## -- S --

set.panel | Specify a panel of plots
setup.image.smooth | Kernel smoother for irregular 2-d data
sim.Krig.grid | Conditonal simulation of a spatial process
sim.Krig.standard | Conditonal simulation of a spatial process
sim.rf | Simulates a random field
smooth.2d | Kernel smoother for irregular 2-d data
spam2full | Conversion of formats for sparse matrices
spam2spind | Conversion of formats for sparse matrices
spind2full | Conversion of formats for sparse matrices
spind2spam | Conversion of formats for sparse matrices
splint | Cubic spline interpolation
sreg | Smoothing spline regression
stationary.cov | Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances.
stationary.image.cov | Exponential, Matern and general covariance functions for 2-d gridded locations.
stationary.taper.cov | Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances.
stats | Calculate summary statistics
stats.bin | Bins data and finds some summary statistics.
summary.Krig | Summary for Krig spatial process estimate
summary.ncdf | Summarizes a netCDF file handle
surface.Krig | Plots a surface and contours
surface.mKrig | Plots a surface and contours

## -- T --

test.for.zero | Testing fields functions
tim.colors | Some useful color tables for images.
Tps | Thin plate spline regression
transformx | Linear transformation
two.colors | Some useful color tables for images.

## -- U --

US | Plot of the US with state boundaries
US.dat | Outline of coterminous US and states.

## -- V --

vgram | Finds a traditional or robust variogram for spatial data.
vgram.matrix | Computes a variogram from an image

## -- W --

W.i2s | Gives indexing imfomration for a wavelet decompostion
W.info | Gives indexing imfomration for a wavelet decompostion
W.s2i | Gives indexing imfomration for a wavelet decompostion
Wendland | Wendland family of covariance functions and supporting numerical functions
Wendland.beta | Wendland family of covariance functions and supporting numerical functions
wendland.cov | Exponential family, radial basis functions,cubic spline, compactly supported Wendland family and stationary covariances.
wendland.eval | Wendland family of covariance functions and supporting numerical functions
Wendland2.2 | Wendland family of covariance functions and supporting numerical functions
Wimage.cov | Functions for W-transform based covariance models
Wimage.i2s | Finds key indices related to a 2-d multiresolution
Wimage.info | Finds key indices related to a 2-d multiresolution
Wimage.info.plot | Plot to check 2-d multiresolution indexing
Wimage.s2i | Finds key indices related to a 2-d multiresolution
Wimage.sim | Functions for W-transform based covariance models
world | Plot of the world
world.color | Plot of the world
Wtransform | Quadratic W wavelet transform for 1-d vectors or rectangular or cylindrical images
Wtransform.cylinder.image | Quadratic W wavelet transform for 1-d vectors or rectangular or cylindrical images
Wtransform.image | Quadratic W wavelet transform for 1-d vectors or rectangular or cylindrical images
Wtransform.image.cov | Functions for W-transform based covariance models

## -- X --

xline | Draw a vertical line

## -- Y --

yline | Draw horizontal lines