extract method for aftreg objects created by the
aftreg function in the eha package.
Usage
# S4 method for class 'aftreg'
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.