nls_optimize.inner: Optimizer for non-linear least square problems (for inner...

View source: R/PCODE.R

nls_optimize.innerR Documentation

Optimizer for non-linear least square problems (for inner objective functions)

Description

Obtain the solution to minimize the sum of squared errors of the defined function fun by levenberg-marquardt method. Adapted from PRACMA package.

Usage

nls_optimize.inner(fun, x0, ..., options)

Arguments

fun

The function returns the vector of weighted residuals.

x0

The initial value for optimization.

...

Parameters to be passed for fun

options

Additional optimization controls.

Value

par

The solution to the non-linear least square problem, the same size as x0


Aleks1123/PCODE documentation built on Sept. 11, 2022, 1:08 p.m.