Learn R Programming

GFDrmst (version 0.1.1)

plot.GFDrmst: Plot simultaneous confidence intervals for a GFDrmst object

Description

Simultaneous confidence intervals for the linear combinations of restricted mean survival times are plotted.

Usage

# S3 method for GFDrmst
plot(x, ...)

Value

No return value, called for side effects.

Arguments

x

An object of class "GFDrmst", usually a result of a call to RMST.test.

...

Further arguments are ignored.

Details

The displayed vectors on the y-axis are the coefficients \(\mathbf{H}_{\ell}\) for the linear combinations of the RMSTs.

See Also

RMST.test

Examples

Run this code
data(colonCS, package = "condSURV")

out <- RMST.test(formula = "Stime ~ rx",
                 event = "event",
                 data = colonCS,
                 hyp_mat = "Tukey",
                 tau = 3000,
                 method = "asymptotic")
plot(out)

Run the code above in your browser using DataLab