residuals.heckmanGE {heckmanGE} | R Documentation |
residuals.heckmanGE Extract Residuals of the Generalized Heckman Model
Description
Extracts residuals from a fitted heckmanGE
model for a specified model component.
Usage
## S3 method for class 'heckmanGE'
residuals(object, part = c("selection", "outcome"), ...)
Arguments
object |
An object of class |
part |
A character vector specifying which model component's residuals to return: either 'selection' or 'outcome'. Defaults to 'outcome'. |
... |
Additional arguments passed to or from other methods. These are not used in this method but must be included to match the generic method signature. |
Value
A vector of residuals extracted from the specified part of the heckmanGE
model.
[Package heckmanGE version 1.0.0 Index]