#' Summary method for a summary.Cuminc object
#'
#' @param object Object of class 'Cuminc', to be summarised
#' @param \dots Further arguments to summarise
#'
#' @export
summary.Cuminc <- function(object, ...)
{
if (!inherits(object, "Cuminc"))
stop("'object' must be a 'Cuminc' object")
summary(attr(object, "survfit"), ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.