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.