Compute the weighted residual sum of squares
wrss(nout)
nout
data.frame (result of res) or object of class objframe.
list with entries value (numeric, the weighted residual sum of squares), gradient (numeric, gradient) and hessian (matrix of type numeric).