Nothing
#' A function to obtain the baseline survival function
#'
#' @param object A funsurv object
#'
#' @returns A data frame including time and baseline survival
#' @export
#' @example inst/examples/ex_basesurv.R
basesurv <- function(object){
if (!is.funsurv(object)) stop("Must be a funsurv object")
data.frame(time = object$time, basesurv = object$basesurv)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.