Find points of inversion of a curve.
find_inversions(x)
x
A numeric vector.
Vector of inversion points.
x <- sin(seq(0, 4 * pi, length.out = 100)) plot(x, type = "b") find_inversions(x)