Learn R Programming

nlr (version 0.1-3)

convfkt2nlform: Convert fktlist objects to nl.form.

Description

Convert fktlist objects defined by Bunke et.al to nl.form. It calculate gradient and hessian using derive3 function.

Usage

convfkt2nlform(fktlistex, namesdata = NULL)

Arguments

fktlistex

fktlistex object include fkt, par, p, ccode, lambda, case, inv, name, defined by Bunke et al (1998)

namesdata

Name of data, is not functional now, used for feature development.

Value

nl.fomr object with gradient and hessian attributes.

Details

fktlist defined by Bunke et al (1998) convfkt2nlform function convert this object to nl.form object.

References

Bunke, O., Droge, B., Polzehl, J. Splus tools for model selection in nonlinear regression (1998) Computational Statistics, 13 (2), pp. 257-281.

See Also

See Also as convexpr2nlform, nl.form.

Examples

Run this code
# NOT RUN {
## fktlistex created by Bunke et.al
convfkt2nlform(fktlistex1[[1]])
# }

Run the code above in your browser using DataLab