R/coef.CauseSpecificCox.R

Defines functions coef.CauseSpecificCox

Documented in coef.CauseSpecificCox

#' Extract coefficients from a Cause-Specific Cox regression model
#' 
#' Extract coefficients from a Cause-Specific Cox regression model
#' @param object Object obtained with CSC
#' @param ... not used
#'
#' @method coef CauseSpecificCox
#' @export
coef.CauseSpecificCox <- function(object, ...){
  return(lapply(object$models,coef))
}

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.