Learn R Programming

optR (version 1.2.5)

newtonRapson: Function for Newton Rapson roots for given equations

Description

newtonRapson function perform optimization

Usage

newtonRapson(f, x, iteration = 30, tol = 1e-09)

Arguments

f
: function to optimize
x
: Initial Solution
iteration
: Iterations
tol
: Tolerance

Value

x : optimal roots