Description Usage Arguments Value Author(s)
View source: R/model.matrix.heckitrob.R
Create design matrix of sample selection model
1 2 | ## S3 method for class 'heckitrob'
model.matrix(object, part = "outcome", ...)
|
object |
object of class |
part |
character string indicating which matrix to extract: "outcome" for the outcome equation, "selection" for the selection equation. |
... |
currently not used |
If argument part is "outcome", the design matrix of the outcome equation is returned.
If argument part is "selection", the design matrix of the selection equation is returned.
Mikhail Zhelonkin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.