Learn R Programming

texreg (version 1.39.4)

extract,phreg-method: extract method for phreg objects

Description

extract method for phreg objects created by the phreg function in the eha package.

Usage

# S4 method for phreg
extract(
  model,
  include.aic = TRUE,
  include.loglik = TRUE,
  include.lr = TRUE,
  include.nobs = TRUE,
  include.events = TRUE,
  include.trisk = TRUE,
  ...
)

Arguments

model

A statistical model object.

include.aic

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

include.loglik

Report the log likelihood in the GOF block?

include.lr

Report likelihood ratio test?

include.nobs

Report the number of observations in the GOF block?

include.events

Report the number of events in the GOF block?

include.trisk

Report the total time at risk (in event-history models)?

...

Custom parameters, which are handed over to subroutines. Currently not in use.