Returns estimates of the slope of an interpolating function that runs through a set of points in the xy-plane.
parabolaSlopes(x,y)
coordinates of points defining the interpolating function.
Returns an estimate of the slope of the interpolant at (x,y).
stinterp and stinemanSlopes.
stinterp
stinemanSlopes
# 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