model.frame.selection function

Data of Selection Models

Data of Selection Models

Return the variables used for estimating a sample selection model

## S3 method for class 'selection' model.frame(formula, ... )

Arguments

  • formula: object of class selection.
  • ...: further arguments passed to other methods (e.g. model.frame or model.frame.binaryChoice).

Returns

A data.frame containing all variables used for the estimation. The terms attribute contains the terms for the selection equation.

Author(s)

Arne Henningsen

See Also

model.frame, selection, model.matrix.selection, and selection-methods.