Learn R Programming

SemiCompRisks (version 1.0)

methods: Methods for objects of classes, "BayesSurv"/"BayesID"

Description

The BayesSurv class represents results from analysis of univariate time-to-event data. The BayesID class represents results from analysis of semi-competing risks data.

Usage

## S3 method for class 'BayesSurv':
print(x, ...)
## S3 method for class 'BayesID':
print(x, ...)
## S3 method for class 'BayesSurv':
summary(object, ...)
## S3 method for class 'BayesID':
summary(object, ...)
## S3 method for class 'BayesSurv':
plot(x, tlim = c(0, 10), ...)
## S3 method for class 'BayesID':
plot(x, tlim = c(0, 10), ...)
## S3 method for class 'ehr':
plot(x, tlim = c(0, 10), ...)

Arguments

x
An object of class; BayesSurv/BayesID/ehr.
object
An object of class; BayesSurv or BayesID.
tlim
The time (x-axis) limits (x1, x2) of the plot. Only required for an object returned by parametric models.
...
Additional arguments.

See Also

BayesSurv, BayesID, ehr