Learn R Programming

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

fields (version 2.3)

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

46,589

Version

2.3

License

GPL Version 2 or later.

Maintainer

Douglas Nychka

Last Published

October 1st, 2024

Functions in fields (2.3)

stats.bin

Bins data and finds some summary statistics.
bplot

boxplot
Krig.Amatrix

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

Plot of the US with state boundaries
minitri

Mini triathlon results
US.dat

Outline of coterminous US and states.
RMprecip

Monthly total precipitation (mm) for August 1963 in the Rocky Mountain Region
rat.diet

Experiment studying an appetite supressant in rats.
image.smooth

Kernel smoother for irregular 2-d data
plot.Wimage

Plots 2-d wavelet coefficents by level and type
arrow.plot

Adds arrows to a plot
flame

Response surface experiment ionizing a reagent
image.count

Creates image for a 2-d histogram from irregular locations
yline

Draw horizontal lines
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.
predict.Krig

Evaluation of Krig spatial process estimate.
surface.Krig

Plots a surface and contours
predict.se

Standard errors of predictions
fields

fields - tools for spatial data
lennon

Gray image of John Lennon.
vgram

Finds a traditional or robust variogram for spatial data.
poisson.cov

Poisson spherical covariance function
splint

Cubic spline interpolation
tim.colors

Tim's useful color table
bplot.xy

Boxplots for conditional distribution
fields internal

Fields internal and secondary functions
Wimage.info.plot

Plot to check 2-d multiresolution indexing
rdist.earth

Great circle distance matrix
vgram.matrix

Computes a variogram from an image
trans3d

Converts 3-d coordinates to 2-d plotting coordinates
interp.surface

Fast bilinear interpolator from a grid.
quilt.plot

Image plot for irregular spatial data.
print.Krig

Print kriging fit results.
summary.ncdf

Summarizes a netCDF file handle
sim.rf

Simulates a random field
rdist

Euclidean distance matrix
xline

Draw a vertical line
sreg

Smoothing spline regression
plot.Krig

Diagnostic and summary plots of the Krig object
add.image

Adds an image to an existing plot.
predict.surface.se

Standard errors of predictions
plot.surface

Plots a surface
plot.sreg

Plots smoothing spline regression object
as.image

Creates image from irregular x,y,z
grid list

Grid list for describing equally spaced grids
as.surface

Creates an "surface" object from grid values.
matern.cov

Matern covariance function
W.info

Gives indexing imfomration for a wavelet decompostion
transformx

Linear transformation
summary.Krig

Summary for Krig spatial process estimate
exp.cov

Exponential, Gaussian and "power" covariance family
cover.design

Computes Space-Filling "Coverage" designs using Swapping Algorithm
predict.surface

Evaluates a fitted function as a surface object
gcv.Krig

Finds profile likelihood and GCV estimates of smoothing parameters
predict.se.Krig

Standard errors of predictions for Krig spatial process estimate
ozone2

Daily 8-hour ozone averages for sites in the Midwest
set.panel

Specify a panel of plots
image.cov

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

Plots one or more color scale strips as a symbol
Wimage.info

Finds key indices related to a 2-d multiresolution
Tps

Thin plate spline regression
Wimage.cov

Functions for W-transform based covariance models
image.plot

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

Calculate summary statistics
world

Plot of the world
krig.image

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

Perspective plot draped with colors in the facets.
smooth.2d

Kernel smoother for irregular 2-d data
Wtransform

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

Kriging surface estimate
ozone

Data set of ozone measurements at 20 Chicago monitoring stations.
qsreg

Quantile or Robust spline regression