stinepack (version 1.3)

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)

Arguments

x,y

coordinates of points defining the interpolating function.

Value

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

See Also

stinterp and stinemanSlopes.

Examples

Run this code
# NOT RUN {
x <- seq(0,2*pi,by=pi/6)
y <- sin(x)
# }
# NOT RUN {
parabolaSlopes(x,y)
# }

Run the code above in your browser using DataLab