Learn R Programming

WA (version 1.0)

summary.LRfit: Summary of the analysis results

Description

Summarize the inferential results for group-specific while-alive loss rates and the loss rate ratios at a user-specified length of follow-up.

Usage

# S3 method for LRfit
summary(object, tau = NULL, ref = NULL, joint.test = FALSE, ...)

Arguments

object

An object returned by LRfit.

tau

A positive real number for the follow-up time; Default is the maximum event time in the data.

ref

The label of the group to be set as the reference; Default is the first level by numerical or alphabetical order

joint.test

If TRUE, joint analysis with the restricted mean survival time (RMST) will be performed; Default is FALSE.

...

Additional arguments affecting the summary produced.

Value

An object of class summary.LRfit with components

LRtab

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|).

Rtab

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|).

Dtab

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|).

LRpval

\(p\)-value for the \((J-1)\)-df chi-square test of group difference in the loss rate.

LRDpval

\(p\)-value for the \(2(J-1)\)-df joint chi-square test of group difference in the loss rate and RMST.

...

See Also

LRfit, plot.LRfit.

Examples

Run this code
# NOT RUN {
#See examples for LRfit().
# }

Run the code above in your browser using DataLab