newton.raphson function

A dose titration algorithm (DTA) 'factory' based on the Newton-Raphson heuristic