summary.LRfit: Summary of the analysis results

Description Usage Arguments Value See Also Examples

View source: R/generic.R

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

1
2
## S3 method for class '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

1
#See examples for LRfit().

WA documentation built on Nov. 18, 2021, 1:10 a.m.