R/ltx.summary.tpchreg.R

Defines functions ltx.summary.tpchreg

#' @export
ltx.summary.tpchreg <-function(x, caption = NULL, label = NULL, dr = NULL, 
                       digits=max(options()$digits - 4, 3), ...){
    if (!inherits(x, "summary.tpchreg")){
        stop("Wrong object type.")
    }
    class(x) <- c(class(x), "coxreg")
    ltx.coxreg(x, caption, label, dr = x$dr, digits, ...)
}
goranbrostrom/eha documentation built on March 9, 2024, 11:22 p.m.