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

# S3 method for 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.

Value

An data frame with model coefficients and p-values.

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

data(model.coups) data.frame(model.coups)
#> Estimate Std..Error t.value Pr...t.. #> Dur_(Intercept) 4.00150499 0.23762082 16.839876 0.000000e+00 #> Dur_polity2 0.20587882 0.03036943 6.779147 1.208877e-11 #> log(alpha) -0.03203683 0.11899341 -0.269232 7.877512e-01 #> Risk_(Intercept) 6.52782381 3.25557613 2.005121 4.495012e-02 #> Risk_polity2 0.89664330 0.40838327 2.195593 2.812111e-02