View source: R/as.data.frame.spdur.R
as.data.frame.spdur | R Documentation |
table
-like function for class “spdur
”.
## S3 method for class 'spdur'
as.data.frame(x, row.names = TRUE, optional = FALSE, ...)
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. |
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.
An data frame with model coefficients and p-values.
xtable.spdur
for formatting a single model to
Latex output.
data(model.coups)
data.frame(model.coups)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.