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

View source: R/as.data.frame.spdur.R

as.data.frame.spdurR 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 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.

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)


spduration documentation built on May 29, 2024, 1:30 a.m.