nr

The Newton-Raphson method uses an iterative process to approach one root of a function. 

Syntax

nr(xvect, yvect, preload, debug)

Argument

xvect
The X vector of the data to be analyzed.
yvect
The Y vector of the data to be analyzed.
preload
The preload value.
debug
The flag to turn on debug mode (prints debug information to debug.csv in the current working directory).
Optional argument (default = off).

Example

xVal = nr(p1w1c1.x, p1w1c1.y,100)