Skip to contents

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 is TRUE.

...

Additional arguments (not used).

Value

An object of class summary.coxtrans, with the following components:

n, nevent

Number of observations and number of events, respectively, in the fit.

logLik

The log partial likelihood at the final value.

coefficients

A 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.int

A matrix with one row for each coefficient, containing the confidence limits for exp(coef).