Summary method for a coxtrans object
Usage
# S3 method for class 'coxtrans'
summary(object, conf.int = 0.95, target_only = TRUE, ...)Arguments
- object
An object of class
coxtrans.- conf.int
A numeric value between 0 and 1 indicating the confidence level of the confidence interval. Default is 0.95.
- target_only
Logical; if
TRUE, only the coefficients for the target group are shown in the summary. Default isTRUE.- ...
Additional arguments (not used).
Value
An object of class summary.coxtrans, with the following
components:
n,neventNumber of observations and number of events, respectively, in the fit.
logLikThe log partial likelihood at the final value.
coefficientsA matrix with one row for each coefficient, and columns containing the coefficient, the hazard ratio exp(coef), standard error, Wald statistic, and P value.
conf.intA matrix with one row for each coefficient, containing the confidence limits for exp(coef).