An objective frame stores residuals and their derivatives with respect to parameters,
as res() returns them.
Arguments
- mydata
Data frame with columns
time,name,value,prediction,sigma,residual,weighted.residual,bloqandweighted.0; further columns are dropped.- deriv
numeric matrix
[n_residuals, p]of first-order derivatives of the residuals- deriv.err
numeric matrix
[n_residuals, p]of first-order derivatives of the error model- deriv2
numeric 3D array
[n_residuals, p, p]of second-order derivatives of residuals with respect to parameters. Optional.- deriv2.err
numeric 3D array
[n_residuals, p, p]of second-order derivatives of the error model. Optional.