coef method for class "chandwich".

# S3 method for chandwich
coef(object, complete = FALSE, ...)



an object of class "chandwich", a result of a call to adjust_loglik.


A logical scalar. If complete = TRUE then the full vector of parameter estimates is returned, including any fixed using fixed_pars and fixed_at in the call to adjust_loglik. Otherwise, only the vector of estimates of free parameters is returned.

The default is complete = FALSE, which is in sync with vcov.chandwich.


Additional optional arguments. At present no optional arguments are used.


A numeric vector of estimated parameters, which will be named if names were provided in the call to



The full vector of estimates is taken from attributes(object)$res_MLE and the reduced vector from attributes(object)$MLE.

See also

vcov.chandwich: vcov method for class "chandwich".

summary.chandwich: summary method for class "chandwich".

adjust_loglik to adjust a user-supplied loglikelihood.