as.data.frame.spdur {spduration} | R Documentation |
Convert spdur results to summary data frame
Description
table
-like function for class “spdur
”.
Usage
## S3 method for class 'spdur'
as.data.frame(x, row.names = TRUE, optional = FALSE, ...)
Arguments
x |
An object with class |
row.names |
Indicates whether parameter names should be added as row names to the data frame returned, or as a separate column with blank row row names. |
optional |
Not used |
... |
Not used. |
Details
This will create a data frame containing the estimated coefficients and standard errors for the risk and duration equations of a split-population duration model. It's intended purpose is to help create larger tables combining several model results.
Value
An data frame with model coefficients and p-values.
See Also
xtable.spdur
for formatting a single model to
Latex output.
Examples
data(model.coups)
data.frame(model.coups)
[Package spduration version 0.17.2 Index]