convfkt2nlform: Convert 'fktlist' objects to 'nl.form'.

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/convfkt2nlform.R

Description

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

Usage

1
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.

Details

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

Value

nl.fomr object with gradient and hessian attributes.

Note

Derivatives must not be included in fktlistext object will be added as attributes to response or independent variables.

Author(s)

Hossein Riazoshams, May 2014. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/

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

1
2
## fktlistex created by Bunke et.al
convfkt2nlform(fktlistex1[[1]])

nlr documentation built on July 31, 2019, 5:09 p.m.

Related to convfkt2nlform in nlr...