Learn R Programming

spduration (version 0.17.2)

as.data.frame.spdur: Convert spdur results to summary data frame

Description

table-like function for class ``spdur''.

Usage

# S3 method for spdur
as.data.frame(x, row.names = TRUE, optional = FALSE, ...)

Value

An data frame with model coefficients and p-values.

Arguments

x

An object with class spdur.

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.

See Also

xtable.spdur for formatting a single model to Latex output.

Examples

Run this code
data(model.coups)
data.frame(model.coups)

Run the code above in your browser using DataLab