Learn R Programming

sampleSelection (version 1.0-4)

model.frame.selection: Data of Selection Models

Description

Return the variables used for estimating a sample selection model

Usage

"model.frame"(formula, ... )

Arguments

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

Value

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

See Also

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