Summarize the inferential results for group-specific while-alive loss rates and the loss rate ratios at a user-specified length of follow-up.
# S3 method for LRfit
summary(object, tau = NULL, ref = NULL, joint.test = FALSE, ...)
An object returned by LRfit
.
A positive real number for the follow-up time; Default is the maximum event time in the data.
The label of the group to be set as the reference; Default is the first level by numerical or alphabetical order
If TRUE, joint analysis with the restricted mean survival time (RMST) will be performed; Default is FALSE.
Additional arguments affecting the summary produced.
An object of class summary.LRfit
with components
A \((J\times 4)\)-dimensional matrix containing the inference
results for the log-loss rate; Columns include
Estimate
, Std.Err
, Z value
, and Pr(>|z|)
.
A \((J\times 4)\)-dimensional matrix containing the inference
results for the log-raw cumulative loss if joint.test=TRUE
; Columns include
Estimate
, Std.Err
, Z value
, and Pr(>|z|)
.
A \((J\times 4)\)-dimensional matrix containing the inference
results for the log-RMST if joint.test=TRUE
; Columns include
Estimate
, Std.Err
, Z value
, and Pr(>|z|)
.
\(p\)-value for the \((J-1)\)-df chi-square test of group difference in the loss rate.
\(p\)-value for the \(2(J-1)\)-df joint chi-square test of group difference in the loss rate and RMST.
# NOT RUN {
#See examples for LRfit().
# }
Run the code above in your browser using DataLab