Finding largest root of a function in R
I have a function that is data generated and not a polynomial. For most data, it only has one root, but it can also have two roots, as in in the following plot:
I have a function that is data generated and not a polynomial. For most data, it only has one root, but it can also have two roots, as in in the following plot: