Checks that the Jacobian `J` and estimating equation vector `g` are numerically valid and that `J` is square and full rank before a Newton-Raphson step is taken.
check_estimating_system(J, g, label = "method", tol_singular = 1e-07)`invisible(TRUE)` if all checks pass; otherwise stops with an informative error message.
Square numeric Jacobian matrix of dimension \(p \times p\).
Numeric estimating equation vector of length \(p\).
Character string used as a prefix in error messages to identify the calling method.
Tolerance passed to `qr()` for detecting rank deficiency. Default is `1e-7`, matching R's `qr()` default.