R/zero_crossings.R
find_inversions.Rd
Find points of inversion of a curve.
find_inversions(x)
A numeric vector.
Vector of inversion points.
x <- sin(seq(0, 4 * pi, length.out = 100)) plot(x, type = "b") find_inversions(x) #> [1] 12.87478 37.62484 62.37516 87.12522