Learn R Programming

Momocs (version 0.2-03)

tps2d: Thin Plate Splines for 2D data.

Description

tps2d is the core function for Thin Plate Splines. It is used internally but might be useful elsewhere.

Usage

tps2d(grid0, fr, to)

Arguments

grid0
A matrix of coordinates on which to calculate deformations.
fr
The reference $(x; y)$ coordinates.
to
The target $(x; y)$ coordinates.

Value

  • Returns a matrix of (x; y) coordinates with TPS-interpolated deformations.

See Also

The tps.grid,tps.iso, tps.arr functions use tps2d.