R/print.ratetable.R

Defines functions print.ratetable

print.ratetable <- function(x, ...) {
    if (is.null(attr(x, 'dimid')))
        cat ("Rate table with dimension(s):", names(dimnames(x)), "\n")
    else  cat ("Rate table with dimension(s):", attr(x, 'dimid'), "\n")
  attributes(x) <- attributes(x)[c("dim", "dimnames")]
  NextMethod()
}

Try the survival package in your browser

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

survival documentation built on Aug. 14, 2023, 9:07 a.m.