resampleTangents: Resample the tangents curve to a given number of samples....

Description Usage Arguments Value

View source: R/spline.R

Description

Resample the tangents curve to a given number of samples. Uses the Hangle spline function. This function has a lot of numerical approximation in it. You should always compare its output to the original to make sure nothing when wrong.

Usage

1
resampleTangents(x, y, tangents, length.out = 1024)

Arguments

x

The x coordinates for the points which make up the digitised curve

y

The y coordinates for the points which make up the digitised curve

tangents

A vector of tangents

length.out

The length of the output array

Value

A resampled tangent vector with length length.out


klapaukh/hangler documentation built on July 26, 2017, 8:03 p.m.