Skip to content
Prev 281285 / 398498 Next

find inflexion point of discrete value list with R

On 12-01-02 04:09 PM, David Winsemius wrote:
The original post wasn't entirely clear, but I thought the data were
indeed integers and that the discrete-state version of
min/max/inflection point was indeed what was wanted.  Yes, if the
underlying variable is continuous you might want to use splinefun(),
with its deriv= argument, and uniroot(), to find maxima and minima.
Might be a little tricky in general, although with an interpolation
spline between a finite set of points you can at least deal with it
exhaustively.

  Ben