Learn R Programming

texreg (version 1.39.4)

extract,survreg-method: extract method for survreg objects

Description

extract method for survreg objects created by the survreg function in the survival package.

Usage

# S4 method for survreg
extract(
  model,
  include.aic = TRUE,
  include.bic = TRUE,
  include.loglik = TRUE,
  include.deviance = TRUE,
  include.nobs = TRUE,
  ...
)

Arguments

model

A statistical model object.

include.aic

Report Akaike's Information Criterion (AIC) in the GOF block?

include.bic

Report the Bayesian Information Criterion (BIC) in the GOF block?

include.loglik

Report the log likelihood in the GOF block?

include.deviance

Report the deviance?

include.nobs

Report the number of observations in the GOF block?

...

Custom parameters, which are handed over to subroutines, in this case to the summary method for the object.