Learn R Programming

SemiCompRisks (version 2.4)

methods: Methods for objects of classes, Bayes/Freq.

Description

The Bayes class represents results from Bayesian analysis of semi-competing risks or univariate time-to-event data. The Freq class represents results from Frequentist analysis of semi-competing risks or univariate time-to-event data.

Usage

"print"(x, digits=3, ...) "print"(x, digits=3, ...) "print"(x, digits=3, ...) "print"(x, digits=3, ...) "summary"(object, digits=3, ...) "summary"(object, digits=3, ...) "plot"(x, tseq=c(0, 5, 10), plot=TRUE, plot.est="BS", xlab=NULL, ylab=NULL, ...) "plot"(x, tseq=c(0, 5, 10), plot=TRUE, plot.est="BS", xlab=NULL, ylab=NULL, ...)

Arguments

x
an object of class Bayes or Freq.
digits
a numeric value indicating the number of digits to display.
object
an object of class Bayes or Freq.
tseq
the points at which tick-marks are to be drawn. Required only if the object x is returned by parametric Weibull models.
plot
If TRUE (the default) then either estimated baseline hazard functions or estimated baseline survival functions are produced depending on the value of plot.est. If FALSE, the summaries which the plots are based on are returned.
plot.est
used only if plot is TRUE. If BS (the default) then estimated baseline survival functions are produced. If BH then estimated baseline hazard functions are produced.
xlab
a title for the x axis.
ylab
a title for the y axis.
...
additional arguments.

See Also

BayesID, BayesSurv, FreqID, FreqSurv.