Learn R Programming

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

fields (version 3.3.1)

Tools for spatial data

Description

Fields is a collection of programs for curve and function fitting with an emphasis on splines, 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 an implementation of a smooth wavelet basis suitable for spatial models. Use help(fields) to get started and an overview.

Copy Link

Version

Install

install.packages('fields')

Monthly Downloads

36,487

Version

3.3.1

License

GPL Version 2 or later.

Maintainer

Douglas Nychka

Last Published

October 1st, 2024

Functions in fields (3.3.1)

RMprecip

Monthly total precipitation (mm) for August 1963 in the Rocky Mountain Region
gcv.Krig

Finds profile likelihood and GCV estimates of smoothing parameters
US

Plot of the US with state boundaries
rdist.earth

Great circle distance matrix
image.smooth

Kernel smoother for irregular 2-d data
bplot.xy

Boxplots for conditional distribution
plot.Wimage

Plots 2-d wavelet coefficents by level and type
print.Krig

Print kriging fit results.
Krig.Amatrix

Smoother (or "hat") matrix relating predicted values to the dependent (Y) values.
fields tests

Testing fields functions
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.
%d*%-methods

Multiplying diagonal matrices in Package `fields'
stats.bin

Bins data and finds some summary statistics.
fields

fields - tools for spatial data
fields.hints

fields - graphics hints
Wimage.info

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

Plot to check 2-d multiresolution indexing
US.dat

Outline of coterminous US and states.
plot.surface

Plots a surface
xline

Draw a vertical line
tim.colors

Tim's useful color table
fields-stuff

Fields supporting functions
as.surface

Creates an "surface" object from grid values.
ozone2

Daily 8-hour ozone averages for sites in the Midwest
Krig.null.function

Default function to create fixed matrix part of spatial process model.
predict.se

Standard errors of predictions
vgram

Finds a traditional or robust variogram for spatial data.
world

Plot of the world
The Krig engines and support

Basic linear algebra utilities and other computations supporting the Krig function.
minitri

Mini triathlon results
as.image

Creates image from irregular x,y,z
W.info

Gives indexing imfomration for a wavelet decompostion
splint

Cubic spline interpolation
surface.Krig

Plots a surface and contours
vgram.matrix

Computes a variogram from an image
fields internal

Fields internal and secondary functions
rdist

Euclidean distance matrix
drape.plot

Perspective plot draped with colors in the facets.
predict.se.Krig

Standard errors of predictions for Krig spatial process estimate
rat.diet

Experiment studying an appetite supressant in rats.
smooth.2d

Kernel smoother for irregular 2-d data
yline

Draw horizontal lines
set.panel

Specify a panel of plots
summary.ncdf

Summarizes a netCDF file handle
stats

Calculate summary statistics
summary.Krig

Summary for Krig spatial process estimate
sim.rf

Simulates a random field
image.cov

Exponential, Matern and general covariance functions for 2-d gridded locations.
krig.image

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

Poisson spherical covariance function
lennon

Gray image of John Lennon.
interp.surface

Fast bilinear interpolator from a grid.
plot.Krig

Diagnostic and summary plots of a Kriging or spline object
Wtransform

Quadratic W wavelet transform for 1-d vectors or rectangular or cylindrical images
Tps

Thin plate spline regression
Krig

Kriging surface estimate
cover.design

Computes Space-Filling "Coverage" designs using Swapping Algorithm
Exponential

Covariance functions
grid list

Grid list format for describing equally spaced grids
add.image

Adds an image to an existing plot.
Wimage.cov

Functions for W-transform based covariance models
predict.surface

Evaluates a fitted function or its standard errors as a surface object
transformx

Linear transformation
image.plot

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

boxplot
qsreg

Quantile or Robust spline regression
predict.Krig

Evaluation of Krig spatial process estimate.
colorbar.plot

Plots one or more color scale strips as a symbol
sreg

Smoothing spline regression
quilt.plot

Image plot for irregular spatial data.
arrow.plot

Adds arrows to a plot
sim.Krig

Conditonal simulation of a spatial process
flame

Response surface experiment ionizing a reagent
ozone

Data set of ozone measurements at 20 Chicago monitoring stations.
Exponential covariances, radial basis functions and stationary covariances.

Exponential covariance family, radial basis functions and a general function for stationary covariances.