Learn R Programming

texreg (version 1.39.4)

extract,coxph-method: extract method for coxph objects

Description

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

Usage

# S4 method for coxph
extract(
  model,
  include.aic = TRUE,
  include.rsquared = TRUE,
  include.maxrs = TRUE,
  include.events = TRUE,
  include.nobs = TRUE,
  include.missings = TRUE,
  include.zph = TRUE,
  ...
)

Arguments

model

A statistical model object.

include.aic

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

include.rsquared

Report R^2 in the GOF block?

include.maxrs

Report maximal R^2 in the GOF block?

include.events

Report the number of events in the GOF block?

include.nobs

Report the number of observations in the GOF block?

include.missings

Report number of missing data points in the GOF block?

include.zph

Report proportional hazard test in the GOF block?

...

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