R/modelExtract.R

Defines functions modelExtract

Documented in modelExtract

#' A generic function for extracting model information
#' @param CFM a model of class either 'glm' or 'flexsurvreg'
#' @details A function for extracting the model information required for using pscfit
#' @return a list of extracted model components
#' @export
modelExtract <- function(CFM){
  UseMethod("modelExtract")
}

Try the psc package in your browser

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

psc documentation built on June 8, 2025, 10:16 a.m.