#' Estimate the Survival Curve
#'
#' Return the predicted survival probability at each unique time point
#' @param PosteriorDraws Matrix of random draws from the posterior distribution
#' of the survival curve.
#' @export
SurvEst = function(PosteriorDraws) {
return(apply(PosteriorDraws, 2, mean))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.