R/summary.FGR.R

Defines functions summary.FGR

Documented in summary.FGR

#' Summary of a Fine-Gray regression model
#'
#' Summary of a Fine-Gray regression model
#' @param object Object fitted with function FGR 
#' @param ... passed to cmprsk::summary.crr
#'
#' @method summary FGR
#' @export
summary.FGR <- function(object,...){
  f <- object$crrFit
  f$call <- object$call
  summary(f,...)
}

Try the riskRegression package in your browser

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

riskRegression documentation built on Sept. 8, 2023, 6:12 p.m.