plot.ICBayes: Plot baseline survival function

Description Usage Arguments Value Examples

View source: R/plot.ICBayes.R

Description

Plot estimated baseline survival function at grids, which are stored in the ICBayes object.

Usage

1
2
## S3 method for class 'ICBayes'
plot(x, y, ...)

Arguments

x

a sequence of points where baseline survival probabilities are estimated

y

estiamted baseline survival at grids

...

other arguments

Value

A plot of baseline survival function.

Examples

1
2
3
4
5
data(bcdata)
try<-ICBayes(Surv(L,R,type='interval2')~x1,data=data.frame(bcdata),
model='case2ph',status=bcdata[,3],p=1,x_user=c(1),
knots=seq(0.1,60.1,length=10),grids=seq(0.1,60.1,by=1),niter=500,burnin=100)
plot.ICBayes(try$grids,try$S0_m)

ICBayes documentation built on Feb. 1, 2020, 1:07 a.m.