R/summary.Cuminc.R

Defines functions summary.Cuminc

Documented in summary.Cuminc

#' 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"), ...)
}

Try the mstate package in your browser

Any scripts or data that you put into this service are public.

mstate documentation built on Sept. 11, 2024, 7:32 p.m.