Learn R Programming

soundgen (version 2.7.0)

findGrad: Find gradient

Description

Internal soundgen function.

Usage

findGrad(path, interpol = 3)

Value

Returns a vector of the same length as input path giving its 4th derivative.

Arguments

path

numeric vector

interpol

the number of points to interpolate beyond each end of the path

Details

Internal helper function for postprocessing of pitch contour. Returns the elastic force acting on a snake. See snake.