Learn R Programming

sampleSelection (version 0.6-2)

model.frame.selection: Data of Selection Models

Description

Return the variables used for estimating a sample selection model

Usage

## 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.probit).

Value

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

See Also

selection, model.frame, and model.frame.probit