Plot estimated baseline survival function at grids
, which are stored in the ICBayes
object.
# S3 method for ICBayes
plot(x, y, ...)
a sequence of points where baseline survival probabilities are estimated
estiamted baseline survival at grids
other arguments
A plot of baseline survival function.
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab