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 Jan. 13, 2021, 11:12 a.m.