powered by
For use in the primary vitality model fitting functions in this package. See package documentation.
indexFinder(x, val)
Vector to search
Threshold
Gives the index of the first value of x that is <= val. returns -1 if no value satisfies the condition