Learn R Programming

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

interp (version 1.1-3)

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

43,378

Version

1.1-3

License

GPL (>= 2)

Maintainer

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

Last Published

July 13th, 2022

Functions in interp (1.1-3)

bicubic.grid

Bicubic Interpolation for Data on a Rectangular grid
bilinear.grid

Bilinear Interpolation for Data on a Rectangular grid
cells

extract info about voronoi cells
akima474

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

Waveform Distortion Data for Bivariate Interpolation
aspline

Univariate Akima interpolation
arcs

Extract a list of arcs from a triangulation object.
bilinear

Bilinear Interpolation for Data on a Rectangular grid
circles

plot circles
bicubic

Bivariate Interpolation for Data on a Rectangular grid
area

Extract a list of triangle areas from a triangulation object.
interp-package

Interpolation of data
circumcircle

Determine the circumcircle of a set of points
circum

Determine the circumcircle (and some other characteristics) of a triangle
identify.triSht

Identify points in a triangulation plot
interp

Interpolation function
interp2xyz

From interp() Result, Produce 3-column Matrix
print.voronoi

Print a voronoi object
voronoi.polygons

extract polygons from a voronoi mosaic
convex.hull

Return the convex hull of a triangulation object
print.triSht

Print a triangulation object
on

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

Local polynomial fit.
interpp

Pointwise interpolate irregular gridded data
triSht

A triangulation object
nearest.neighbours

Nearest neighbour structure for a data set
voronoi

Voronoi object
triSht2tri

Converter to tripack objects
voronoi.area

Calculate area of Voronoi polygons
print.summary.triSht

Print a summary of a triangulation object
neighbours

List of neighbours from a triangulation or voronoi object
triangles

Extract a list of triangles from a triangulation object
tritest

tritest / sample data
print.summary.voronoi

Print a summary of a voronoi object
tri.find

Locate a point in a triangulation
tri.mesh

Delaunay triangulation
on.convex.hull

Determines if points are on or in the convex hull of a triangulation object
franke.data

Test datasets from Franke for interpolation of scattered data
plot.voronoi

Plot a voronoi object
summary.triSht

Return a summary of a triangulation object
circtest

circtest / sample data
summary.voronoi

Return a summary of a voronoi object
outer.convhull

Version of outer which operates only in a convex hull
plot.triSht

Plot a triangulation object
voronoi.mosaic

Voronoi mosaic
voronoi.findrejectsites

Find the Voronoi sites at the border of the region (to be rejected).
plot.voronoi.polygons

plots an voronoi.polygons object