Learn R Programming

nlr (version 0.1-3)

transform: Transform by R matrix.

Description

Transform \(R \times value\) and its gradient and hessian.

Usage

transform(value,rm)

Arguments

value

A vector to be transformed by R-matrix. It must have gradient and hessian as attributes.

rm

The R-matrix, from QR decomposition.

Value

Is a transformed vector \(R \times V\), and hessian and gradient as its attributes. Gradient is equal: $$gradient= rm \times g$$ and hessian equal the three dimentional product: $$hessian= h \%3d*m\% rm$$.

Details

It is used to transfomr a nonlinear regression model by R matrix from QR decomposition of variance covariance matrix.

References

Robust Nonlinear Regression, Theories and Methods with Practical Guides for R Packages. Riazoshams et al.

See Also

nlmest.NLM, nlmest.NLMf, nlmest.WF

Examples

Run this code
# NOT RUN {
## The function is currently defined as
"transform"
# }

Run the code above in your browser using DataLab