Learn R Programming

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

interp (version 1.1-4)

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-4

License

GPL (>= 2)

Maintainer

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

Last Published

March 31st, 2023

Functions in interp (1.1-4)

bilinear.grid

Bilinear Interpolation for Data on a Rectangular grid
aspline

Univariate Akima interpolation
akima474

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

extract info about voronoi cells
bicubic

Bivariate Interpolation for Data on a Rectangular grid
bilinear

Bilinear Interpolation for Data on a Rectangular grid
akima

Waveform Distortion Data for Bivariate Interpolation
bicubic.grid

Bicubic Interpolation for Data on a Rectangular grid
area

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

Interpolation function
identify.triSht

Identify points in a triangulation plot
circles

plot circles
convex.hull

Return the convex hull of a triangulation object
circumcircle

Determine the circumcircle of a set of points
interp-package

Interpolation of data
circum

Determine the circumcircle (and some other characteristics) of a triangle
circtest

circtest / sample data
franke.data

Test datasets from Franke for interpolation of scattered data
interpp

Pointwise interpolate irregular gridded data
interp2xyz

From interp() Result, Produce 3-column Matrix
outer.convhull

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

Plot a voronoi object
plot.triSht

Plot a triangulation object
neighbours

List of neighbours from a triangulation or voronoi object
on

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

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

plots an voronoi.polygons object
triSht2tri

Converter to tripack objects
triSht

A triangulation object
summary.triSht

Return a summary of a triangulation object
tri.find

Locate a point in a triangulation
tri.mesh

Delaunay triangulation
print.summary.triSht

Print a summary of a triangulation object
locpoly

Local polynomial fit.
print.triSht

Print a triangulation object
on.convex.hull

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

Print a voronoi object
voronoi.polygons

extract polygons from a voronoi mosaic
summary.voronoi

Return a summary of a voronoi object
voronoi

Voronoi object
voronoi.findrejectsites

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

Voronoi mosaic
voronoi.area

Calculate area of Voronoi polygons
tritest

tritest / sample data
print.summary.voronoi

Print a summary of a voronoi object
triangles

Extract a list of triangles from a triangulation object
arcs

Extract a list of arcs from a triangulation object.