Learn R Programming

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

interp (version 1.0-29)

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. Currently the piecewise linear interpolation part of akima::interp (and also akima::interpp) is implemented in interp::interp, 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 spline interpolation (akima::interp(..., linear=FALSE)) is currently under development and will complete this package in a later version. Estimators for partial derivatives are already available, these are a prerequisite for the spline interpolation. The basic part is currently a GPLed triangulation algorithm (sweep hull algorithm by David Sinclair) providing the starting point for the piecewise linear interpolator. As side effect this algorithm is also used to provide replacements for the basic functions of the tripack package which also suffer from the ACM restrictions. All functions are designed to be backward compatible with their akima / tripack counterparts.

Copy Link

Version

Install

install.packages('interp')

Monthly Downloads

58,868

Version

1.0-29

License

GPL (>= 2)

Maintainer

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

Last Published

June 17th, 2017

Functions in interp (1.0-29)

circles

Add circles to a plot
convex.hull

Return the convex hull of a triangulation object
interp-package

Interpolation of data
interp

Interpolation function
interpp

Pointwise interpolate irregular gridded data
locpoly

Local polynomial fit.
franke.data

Test datasets from Franke for interpolation of scattered data
identify.triSht

Identify points in a triangulation plot
arcs

Extract a list of arcs from a triangulation object.
area

Extract a list of triangle areas from a triangulation object.
on.convex.hull

Determines if points are on or in the convex hull of a triangulation object
outer.convhull

Version of outer which operates only in a convex hull
voronoi

Voronoi object
voronoi.mosaic

Voronoi mosaic
print.triSht

Print a triangulation object
print.voronoi

Print a voronoi object
triSht

A triangulation object
print.summary.triSht

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

Print a summary of a voronoi object
summary.triSht

Return a summary of a triangulation object
triangles

Extract a list of triangles from a triangulation object
plot.triSht

Plot a triangulation object
plot.voronoi

Plot a voronoi object
tri.find

Locate a point in a triangulation
tri.mesh

Delaunay triangulation
summary.voronoi

Return a summary of a voronoi object
nearest.neighbours

Nearest neighbour structure for a data set
on

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