Learn R Programming

interp (version 1.1-6)

Interpolation Methods

Description

Bivariate data interpolation on regular and irregular grids, either linear or using splines are the main part of this package. It is intended to provide FOSS replacement functions for the ACM licensed akima::interp and tripack::tri.mesh functions. Linear interpolation is implemented in interp::interp(..., method="linear"), this corresponds to the call akima::interp(..., linear=TRUE) which is the default setting and covers most of akima::interp use cases in depending packages. A re-implementation of Akimas irregular grid spline interpolation (akima::interp(..., linear=FALSE)) is now also available via interp::interp(..., method="akima"). Estimators for partial derivatives are now also available in interp::locpoly(), these are a prerequisite for the spline interpolation. The basic part is a GPLed triangulation algorithm (sweep hull algorithm by David Sinclair) providing the starting point for the irregular grid interpolator. As side effect this algorithm is also used to provide replacements for almost all functions of the tripack package which also suffers from the same ACM license restrictions. All functions are designed to be backward compatible with their akima / tripack counterparts.

Copy Link

Version

Install

install.packages('interp')

Monthly Downloads

54,631

Version

1.1-6

License

GPL (>= 2)

Maintainer

Fortran code by R J Renka R functions by Albrecht Gebhardt With contributions from Stephen Eglen stephenancedacuk

Last Published

January 26th, 2024

Functions in interp (1.1-6)

circles

plot circles
franke.data

Test datasets from Franke for interpolation of scattered data
convex.hull

Return the convex hull of a triangulation object
circum

Determine the circumcircle (and some other characteristics) of a triangle
outer.convhull

Version of outer which operates only in a convex hull
interp2xyz

From interp() Result, Produce 3-column Matrix
interp-package

Interpolation of data
identify.triSht

Identify points in a triangulation plot
circtest

circtest / sample data
circumcircle

Determine the circumcircle of a set of points
interpp

Pointwise interpolate irregular gridded data
plot.triSht

Plot a triangulation object
interp

Interpolation function
plot.voronoi

Plot a voronoi object
tri.find

Locate a point in a triangulation
nearest.neighbours

Nearest neighbour structure for a data set
plot.voronoi.polygons

plots an voronoi.polygons object
tri.mesh

Delaunay triangulation
locpoly

Local polynomial fit.
print.triSht

Print a triangulation object
print.voronoi

Print a voronoi object
print.summary.voronoi

Print a summary of a voronoi object
print.summary.triSht

Print a summary of a triangulation object
on

Determines if a point is on or left of the vector described by two other points.
on.convex.hull

Determines if points are on or in the convex hull of a triangulation object
voronoi.mosaic

Voronoi mosaic
voronoi.findrejectsites

Find the Voronoi sites at the border of the region (to be rejected).
triSht

A triangulation object
voronoi.polygons

extract polygons from a voronoi mosaic
triangles

Extract a list of triangles from a triangulation object
neighbours

List of neighbours from a triangulation or voronoi object
triSht2tri

Converter to tripack objects
summary.triSht

Return a summary of a triangulation object
tritest

tritest / sample data
summary.voronoi

Return a summary of a voronoi object
voronoi

Voronoi object
voronoi.area

Calculate area of Voronoi polygons
bicubic

Bivariate Interpolation for Data on a Rectangular grid
cells

extract info about voronoi cells
bilinear.grid

Bilinear Interpolation for Data on a Rectangular grid
aspline

Univariate Akima interpolation
bicubic.grid

Bicubic Interpolation for Data on a Rectangular grid
akima

Waveform Distortion Data for Bivariate Interpolation
arcs

Extract a list of arcs from a triangulation object.
bilinear

Bilinear Interpolation for Data on a Rectangular grid
area

Extract a list of triangle areas from a triangulation object.
akima474

Sample data from Akima's Bicubic Spline Interpolation code (TOMS 474)