stinepack (version 1.4)

parabolaSlopes: Estimate the slope of an interpolating function using a parabola

Description

Returns estimates of the slope of an interpolating function that runs through a set of points in the xy-plane.

Usage

parabolaSlopes(x,y)

Value

Returns an estimate of the slope of the interpolant at (x,y).

Arguments

x,y

coordinates of points defining the interpolating function.

Author

Norbert Nemec, Institute of Theoretical Physics, University of Regensburg. Translation from Python code by Halldor Bjornsson

See Also

stinterp and stinemanSlopes.

Examples

Run this code
x <- seq(0,2*pi,by=pi/6)
y <- sin(x)
if (FALSE) parabolaSlopes(x,y)

Run the code above in your browser using DataLab