methods: Methods for objects of classes,...

Description Usage Arguments See Also

Description

The Bayes_HReg class represents results from Bayesian analysis of semi-competing risks or univariate time-to-event data in the context of hazard regression models.
The Bayes_AFT class represents results from Bayesian analysis of semi-competing risks or univariate time-to-event data in the context of AFT models.
The Freq_HReg class represents results from Frequentist analysis of semi-competing risks or univariate time-to-event data in the context of hazard regression models.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## S3 method for class 'Bayes_HReg'
print(x, digits=3, ...)
## S3 method for class 'Bayes_AFT'
print(x, digits=3, ...)
## S3 method for class 'summ.Bayes_HReg'
print(x, digits=3, ...)
## S3 method for class 'summ.Bayes_AFT'
print(x, digits=3, ...)
## S3 method for class 'Freq_HReg'
print(x, digits=3, ...)
## S3 method for class 'summ.Freq_HReg'
print(x, digits=3, ...)
## S3 method for class 'Bayes_HReg'
summary(object, digits=3, ...)
## S3 method for class 'Bayes_AFT'
summary(object, digits=3, ...)
## S3 method for class 'Freq_HReg'
summary(object, digits=3, ...)
## S3 method for class 'Freq_HReg'
plot(x, tseq=c(0, 5, 10), plot=TRUE, plot.est="BS", xlab=NULL, ylab=NULL, ...)
## S3 method for class 'Bayes_HReg'
plot(x, tseq=c(0, 5, 10), plot=TRUE, plot.est="BS", xlab=NULL, ylab=NULL, ...)
## S3 method for class 'Bayes_AFT'
plot(x, time, tseq=c(0, 5, 10), plot=TRUE, plot.est="BS", xlab=NULL, ylab=NULL, ...)

Arguments

x

an object of class Bayes_HReg or Bayes_AFT or Freq_HReg.

digits

a numeric value indicating the number of digits to display.

object

an object of class Bayes_HReg or Bayes_AFT orFreq_HReg.

time

the points at which the baseline survival/hazard functions are evaluated.

tseq

the points at which tick-marks are to be drawn. Required only if the object x is returned by parametric Weibull-HReg/log-Normal-AFT/DPM-AFT 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_HReg, BayesID_AFT, BayesSurv_HReg, BayesSurv_AFT, FreqID_HReg, FreqSurv_HReg.


SemiCompRisks documentation built on Jan. 3, 2018, 10:50 p.m.