This function allows the user to plot the estimated survival curve along with its credible interval.
1 | PlotSurv(PosteriorDraws, UniqueTimes, CredLevel = 0.95)
|
PosteriorDraws |
Matrix of draws from the posterior distribution of the survival function |
UniqueTimes |
The unique times of observation or censoring |
CredLevel |
The desired credible level |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.