Learn R Programming

sampleSelection (version 1.2-14)

model.frame.selection: Data of Selection Models

Description

Return the variables used for estimating a sample selection model

Usage

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

Value

A data.frame containing all variables used for the estimation. The

“terms” attribute contains the terms for the selection equation.

Arguments

formula

object of class selection.

...

further arguments passed to other methods (e.g. model.frame or model.frame.binaryChoice).

Author

Arne Henningsen

See Also

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